Revoke (cancel) a single active, queued, or scheduled job.
Cancels a job that is currently active, queued, scheduled, retrying, or in the unknown state. The job’s state changes toDocumentation Index
Fetch the complete documentation index at: https://docs.sluice.sh/llms.txt
Use this file to discover all available pages before exploring further.
cancelled.
| Parameter | Type | Description |
|---|---|---|
id | string | Sluice job UUID. |
active, queued, scheduled, retrying, unknown.
Attempting to revoke a completed, failed, or cancelled job returns 400.
control.revoke(), which broadcasts the revocation to all workers. For queued or scheduled jobs, the worker discards the task before execution begins. For active tasks, the worker receives the revoke signal but the task may not terminate immediately unless terminate=True is used internally — the task runs to completion and is marked cancelled afterward.
acks_late=True, the message remains on the broker until the worker acknowledges it. A revoked task with acks_late is acknowledged without execution, but if the worker crashes before acknowledging, the broker may redeliver the task to another worker that hasn’t seen the revoke command.