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. Readwrite_status even when the job reports cancelled:
Run a write again only after you know it didn’t happen.
Details
Details
- Cancelling needs the
jobs:cancelpermission; see permissions. - Pomerado also stops a job when the access that started it is revoked (
stop_reasonaccess_revoked), its account is deleted (account_deleted) or the account’s saved logins become unavailable (logins_unavailable). It readscancelledtoo, and itsmessagesays why.cancel_requestedmeans 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.failedevent to webhooks. - Don’t cancel a run whose
maintenance.statusisrepairing. 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.