POST
/
{site_id}
/
failover
/
priorities
curl --request POST \
  --url https://api.altostrat.io/{site_id}/failover/priorities \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "priorities": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "priority": 123
    }
  ]
}'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "priority": 123
  }
]

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

Priorities array matching exactly the existing tunnels

The body is of type object.

Response

200
application/json

Updated priorities returned

The response is of type object[].