English
cURL
curl --request GET \ --url https://api.altostrat.io/site/{siteId}/subnets \ --header 'Authorization: Bearer <token>'
[ { "route": "192.168.50.0/24", "type": "rfc1918", "interface": "bridge" } ]
Retrieves a list of available subnets for a specific site, which is useful when configuring site-to-site peers.
Enter your bearer token in the format: Bearer {token}
The unique identifier (UUID) for the site.
"c3d5e2a0-88c9-4f7f-9f7b-6a1e2b4c5d6e"
A list of available subnets for the site.
The subnet in CIDR notation.
"192.168.50.0/24"
The type of IP address range.
"rfc1918"
The network interface on the site's router associated with this subnet.
"bridge"
Was this page helpful?