POST
/
{site_id}
/
tunnel
/
{tunnel_id}
/
gateway
curl --request POST \
  --url https://api.altostrat.io/{site_id}/tunnel/{tunnel_id}/gateway \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "gateway_ip": "127.0.0.1",
  "interface_ip": "127.0.0.1",
  "token": "<string>"
}'

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

tunnel_id
string
required

Tunnel UUID

Body

application/json

Gateway update request with IP addresses

The body is of type object.

Response

200

Updated successfully or no change