POST
/
scheduled-task
{
  "id": "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

schedule_type: Type of schedule to use (interval or cron) interval_minutes: Minutes between runs (required for interval schedule) cron_expression: Cron expression for scheduling (required for cron schedule) start_at: When to start the schedule (optional, defaults to now) end_at: When to end the schedule (optional, defaults to 1 year from now)

Note: Secrets are not yet supported for scheduled tasks.

Response

200
application/json

Successful Response

The response is of type object.