Updates an existing BGP/DNR policy.
cURL
curl --request PUT \ --url https://api.altostrat.io/content/bgp/policy/{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" }
Enter the Bearer token (obtained via authentication or provided internally).
BGP policy updated successfully.
The response is of type object.
object
Was this page helpful?