POST
/
bgp
/
policy
curl --request POST \
  --url https://api.altostrat.io/content/bgp/policy \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Default BGP Security",
  "enabled": true,
  "sites": [
    "c3d4e5f6-a7b8-9012-3456-7890abcdef01"
  ],
  "lists": [
    "d4e5f6a7-b8c9-0123-4567-890abcdef012"
  ]
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "enabled": true,
  "default": true,
  "lists": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "site_count": 123,
  "sites": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "dns_policy_overlap": true,
  "updated_at": "06 Apr 2025 14:30:00",
  "created_at": "01 Mar 2025 10:00:00"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

201
application/json

BGP policy created successfully.

The response is of type object.