POST
/
bgp
/
{site_id}
curl --request POST \
  --url https://api.altostrat.io/content/bgp/{site_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ip_address": "100.64.10.5",
  "dnr_policy_id": "f6a7b8c9-d0e1-2345-6789-0abcdef01234"
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "ip_address": "127.0.0.1",
  "created_at": "07 Apr 2025 09:00:21",
  "policy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "policy_name": "<string>",
  "dnr_subscription_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "dns_subscription_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "dns_online": true,
  "dnr_online": true,
  "dnr_policy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "dnr_policy_name": "<string>"
}

Authorizations

Authorization
string
header
required

Enter the Bearer token (obtained via authentication or provided internally).

Path Parameters

site_id
string
required

Body

application/json

Requires IP address and BGP/DNR Policy ID.

The body is of type object.

Response

201
application/json

BGP policy assigned successfully.

The response is of type object.