POST
/
{site_id}
/
tunnel
/
gateways
curl --request POST \
  --url https://api.altostrat.io/{site_id}/tunnel/gateways \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "interface": "<string>"
}'
[
  {
    "gateway": "127.0.0.1",
    "is_dhcp": true
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

site_id
string
required

Site UUID

Body

application/json

Lookup gateway request

The body is of type object.

Response

200
application/json

List of discovered gateway IPs

The response is of type object[].