Cancel a scheduled job
POST/v1/jobs/:id/cancel_schedule
Cancels a scheduled launch and moves the job back to draft. To launch it again, use Publish a job.
Request
Responses
- 200
- 401
- 403
- 404
- 409
- 422
Scheduled launch cancelled
Missing or invalid bearer token.
The public API is not enabled for this account (err_feature_not_enabled), the acting user is not allowed to edit this job, or the API key lacks the jobs:write scope (err_insufficient_scope).
Job not found (err_job_not_found).
The job is not scheduled (err_invalid_state_transition).
Validation failed. Error codes:
err_on_behalf_of_not_allowed— a personal access token passed another user's IDerr_user_not_found—on_behalf_ofis not an active user in the accounterr_on_behalf_of_forbidden— that user is not allowed to perform this action