Skip to main content
POST
/
sites
/
{siteId}
/
action
Perform an action on a site
curl --request POST \
  --url https://api.altostrat.io/sites/{siteId}/action \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "action": "site.reboot"
}'
{
  "message": "Action sent to SNS"
}

Authorizations

Authorization
string
header
required

Enter your JWT bearer token.

Path Parameters

siteId
string<uuid>
required

The unique identifier for the site.

Example:

"d290f1ee-6c54-4b01-90e6-d701748f0851"

Body

application/json
action
enum<string>
required

The action to perform on the site.

Available options:
site.upgrade,
site.clear_firewall,
site.reboot,
site.recreate_management_filter,
site.recreate_tunnel,
site.resend_api_user
Example:

"site.reboot"

Response

The action command was successfully sent to the device.

message
string
Example:

"Action sent to SNS"