POST/api/v2/admin/jobs/{id}/cancel
jobs:manageAPI token
Cancel a pending or queued job. A running rule apply (job type plan_apply) stops after its current step instead, keeping the changes it made, and ends as cancelled. An apply that already made its last change completes. Other running jobs and reserved connector approval jobs cannot be cancelled.
Parameters
Path1 required of 1
idstringpathrequired
Job ID (UUID)
Responses
200
Job cancelled successfully
403
Insufficient permissions
409
Job cannot transition to cancelled from its current lifecycle state
Common errors: 400 401 404 429 503 504. They mean the same for every operation, see Errors.