Docs OpenAPI

Docs / Jobs

Cancel a job

POST/v1/jobs/{id}/cancel

A job can be canceled until the lab starts it. Canceling a canceled job changes nothing.

View as Markdown

Headers

Path parameters

  • idJobId (string, pattern)required#

    A job's ID: job_ and then the job's UUID in 26 characters of base32, as a TypeID (github.com/jetify-com/typeid).

Responses

200The canceled job.
401Send a valid API key as Authorization: Bearer <key>.
403The key is not a customer's.
404No such job of this customer's.
409The lab has started the job.
422A parameter or the body does not parse.
500Something went wrong on our side.

200 returns Job. Every error is a Problem, whose detail says what went wrong.