Cancel a pending or failed job
POST /admin/jobs/{id}/cancel
POST
/admin/jobs/{id}/cancel
Admin action: move a pending or failed job to cancelled.
Cancelling a job that is already running is not supported and
returns 409. Gated on system.admin.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string format: uuid
Responses
Section titled “ Responses ”Job cancelled.
Authentication required, missing, or invalid
object
error
required
Human-readable error summary
string
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Authenticated but missing required capabilities
object
error
required
Human-readable error summary
string
Example
the request could not be completedResource not found
object
error
required
Human-readable error summary
string
Example
the request could not be completedConflict (slug taken, would create cycle, etc.)
object
error
required
Human-readable error summary
string
Example
the request could not be completed