FleetDeckDocs

CLI command

fleetdeck cancel

Cancel queued work or ask a running worker to stop.

Usage

bash
fleetdeck cancel JOB
Example
fleetdeck cancel job_123

Arguments

ArgumentRequiredDescription
JOBrequiredJob ID owned by the same key that scheduled it. Requires jobs:write.

Supply FLEETDECK_API_KEY through the environment. See environment configuration.

Behavior

  • Requires jobs:write on the same key that created the job.
  • Acknowledgement does not reverse physical effects already delivered.

Output and exit

Writes formatted JSON to stdout. Errors are one JSON object on stderr.

Example stdout
{
  "cancelled": true
}

Response fields and API errors: Request job cancellation.

See all exit codes and error recovery.