Cancel a job
POST/v1/jobs/:id/cancel
Stops a job that has not finished. Nothing is rolled back: a backup cut short is never committed, and is cleaned up on its own.
Any member of the project the token is scoped to.
Request
Responses
- 200
- 401
- 403
- 404
- 409
- default
OK
Unauthorized.
unauthenticated: The token is missing, expired or not valid.
Forbidden.
forbidden: The token lacks the point:delete permission in the job's project.
Not Found.
not_found: The id is not a UUID, or no job has it. Or the job belongs to a project the token may not read.
Conflict.
conflict: The job has already finished, as succeeded, dead_letter or cancelled.
An error, as an RFC 7807 problem document.