Skip to main content
GET
/
bgp
/
policy
List BGP Policies
curl --request GET \
  --url https://api.altostrat.io/content/bgp/policy \
  --header 'Authorization: Bearer <token>'
[
  {
    "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).

Response

A list of BGP policies.

id
string<uuid>
name
string
enabled
boolean
default
boolean

Whether this is the default BGP policy for the customer.

lists
string<uuid>[]

List of DNR List UUIDs included in this policy.

site_count
integer
sites
string<uuid>[]

List of Site UUIDs attached to this policy.

dns_policy_overlap
boolean

Indicates if any sites attached to this BGP policy also have a DNS policy assigned.

updated_at
string

Policy update timestamp (timezone adjusted by resource).

Example:

"06 Apr 2025 14:30:00"

created_at
string

Policy creation timestamp (timezone adjusted by resource).

Example:

"01 Mar 2025 10:00:00"

I