Getting Started
OIDC, RBAC, and Billing
- Authentication & User Info
- User Management
- Ancillary Services
- Teams
- API Credentials
- Roles & Permissions
- Billing - Account
- Billing - Payment Methods
- Billing - Tax IDs
- Billing - Invoices
- Billing - Subscriptions
- Internal M2M
ARP and Devices
- Devices
Developers API
- Sites
- Health
- Synchronous API
- Asynchronous API
- Port Forwards
Asynchronous (MikroTik)
- Bootstrap & Adoption
- Heartbeat
- Jobs
- Runbooks
- Sites
- Internal
- SFTP Auth
Backups
- Site Backups
BGP Feeds And Content Filter
- DNS Policy
- Tunnels & Sites
- Categories & Applications
- BGP Policy
- IP Lists
- Internal Hooks
Captive Portal
- IDP Integrations
- Instances
- Walled Garden
Control Plane Filter
- Policies
- Sites
- Checkin
- Router Commands
- Internal
- Transient Access
- Transient Forward
- Credentials
- Scheduler
CVE Scans
- Scan Schedules
- Scan Results
- CVE Management
- On-Demand Scans
Elastic IP Addressing
- Subnets
- IP Addresses (L2TP)
Logging
- Log Events
Metrics
- Syslog
- ARP
- Interfaces
- MikrotikStats
- Content
- Tunnels
Monitoring & Health
- Faults
Notifications
- Topics
- Groups
Scheduled Scripts
- Community Scripts
- Scheduled Scripts
- AI Generation
Schedules
- Schedules
- Internal
SLA Reports
- SLA Schedules
- SLA Reports
VPN
- Servers
- Sites
- Instances
- Peers
- VPN Client Tokens
- Internal
WAN Failover
- Failover
- Tunnel
- Services
- Gateway
Webhooks
- Integrations
BGP Policy
Update BGP Policy
Updates an existing BGP/DNR policy.
PUT
/
bgp
/
policy
/
{policy}
Copy
Ask AI
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"
]
}'
Copy
Ask AI
{
"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
Enter the Bearer token (obtained via authentication or provided internally).
Path Parameters
Body
application/json
Response
200
application/json
BGP policy updated successfully.
The response is of type object
.
Copy
Ask AI
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"
]
}'
Copy
Ask AI
{
"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"
}
Assistant
Responses are generated using AI and may contain mistakes.