PUT
/
scheduled
/
{scheduledScript}
curl --request PUT \
  --url https://api.altostrat.io/scheduled/{scheduledScript} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "test_site_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "make_backup": true,
  "description": "<string>",
  "script": "<string>",
  "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.

Path Parameters

scheduledScript
string
required

UUID of the scheduled script

Body

application/json

JSON fields to update (description, script, sites, etc.)

The body is of type object.

Response

200

Script updated