POST
/
api
/
asynchronous
/
{router_id}
curl --request POST \
  --url https://api.altostrat.io/api/asynchronous/{router_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "<string>",
  "script": "<string>",
  "make_backup": true,
  "express_execute": true,
  "needs_acknowledgement": true,
  "notify_url": "<string>"
}'
{
  "status": "<string>",
  "data": {
    "idempotency_key": "<string>",
    "request_id": "<string>",
    "target": "<string>",
    "notify_url": "<string>",
    "date": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Use the Authorization: Bearer <token> header format

Path Parameters

router_id
string
required

The UUID of the router for asynchronous commands.

Body

application/json

Asynchronous job specification including script, backup preference, etc.

The body is of type object.

Response

200 - application/json

Job creation success

The response is of type object.