Skip to main content
POST
/
{site}
/
sync
/
execute
Execute commands on a site (internal sync)
curl --request POST \
  --url https://api.altostrat.io/{site}/sync/execute \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "path": "<string>",
  "variables": {},
  "parameters": [
    "<string>"
  ]
}'

Authorizations

Authorization
string
header
required

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

Path Parameters

site
string<uuid>
required

UUID of the site

Body

application/json

Sync (execute) request payload

path
string

Router path/command, e.g. /ip/route/print. May be omitted for /execute usage.

variables
object

(Optional) Additional variables to pass

parameters
string[]

Arguments for the router command

Response

Command output from the router

I