Skip to main content
Requests cancellation of a running background job. The worker checks the cancellation flag between steps and stops at the next safe point, so cancellation is cooperative — a job may run a little longer before it settles into a cancelled state. Returns the job’s current status.
Cancellation is asynchronous: the response still reports the job’s current status (typically running) — poll Get Job until status becomes cancelled.
Jobs are scoped to both the organization and authenticated member. A job outside either scope returns 404, never disclosed.
string
required
Bearer token obtained from the authenticate endpoint.
string
required
The job id to cancel.

Response

Returns the job in the same shape as Get Job. The cancellation request is not visible in the payload — the job keeps reporting its current status (running or queued) until the worker stops.