POST
/
scheduled
curl --request POST \
  --url https://api.altostrat.io/scheduled \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "test_site_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "make_backup": true,
  "abort_if_offline": true,
  "description": "<string>",
  "script": "<string>",
  "launch_at": "2023-11-07T05:31:56Z",
  "sites": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "notify": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}'

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

201

Scheduled script created