Skip to main content
Cancel a job to stop a run or build you no longer need. Send POST /v1/jobs/{id}/cancel, or call cancel_job with its job_id. The answer is the job. It may read running while it stops, usually for a few seconds, then cancelled. While it stops, stop_reason is cancel_requested and its message says the cancel was received, even mid-sign-in. A run that already finished keeps its own status.

Check what already happened

Cancelling can’t undo an action the job already sent to the website. Read write_status even when the job reports cancelled: Run a write again only after you know it didn’t happen.
  • Cancelling needs the jobs:cancel permission; see permissions.
  • Pomerado also stops a job when the access that started it is revoked (stop_reason access_revoked), its account is deleted (account_deleted) or the account’s saved logins become unavailable (logins_unavailable). It reads cancelled too, and its message says why. cancel_requested means a cancel for that job arrived, from its caller, the account’s owner or Pomerado support. Another job on the same saved login never cancels it: that job waits in the queue.
  • A cancelled job sends the job.failed event to webhooks.
  • Don’t cancel a run whose maintenance.status is repairing. When the repair ends, Pomerado finishes the task. Cancelling a read-only run that doesn’t sign in while Pomerado repairs its tool ends only your wait. The repair keeps going, so later runs use the fixed tool, and the cancelled job gets no result from it. Cancelling any other run also stops its repair.