Skip to main content
PATCH
/
task-templates
/
{template_id}
/
schedule
Update Template Schedule
curl --request PATCH \
  --url https://api.example.com/task-templates/{template_id}/schedule/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cron_schedule": "<string>",
  "schedule_enabled": true
}
'
{}

Authorizations

Authorization
string
header
required

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

Headers

Api-key
string | null

Path Parameters

template_id
string<uuid>
required

Body

application/json
cron_schedule
string
required
schedule_enabled
boolean
required

Response

Successful Response

The response is of type Response Update Template Schedule Task Templates Template Id Schedule Patch · object.