Skip to main content
GET
/
site
/
{siteId}
/
subnets
List subnets for a site
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"
  }
]

Authorizations

Authorization
string
header
required

Enter your bearer token in the format: Bearer {token}

Path Parameters

siteId
string<uuid>
required

The unique identifier (UUID) for the site.

Example:

"c3d5e2a0-88c9-4f7f-9f7b-6a1e2b4c5d6e"

Response

A list of available subnets for the site.

route
string

The subnet in CIDR notation.

Example:

"192.168.50.0/24"

type
string

The type of IP address range.

Example:

"rfc1918"

interface
string

The network interface on the site's router associated with this subnet.

Example:

"bridge"