Jobs

Cancel a job

Cancels a specific job. The job cannot be cancelled if it has already been started, suspended or completed (required scope jobs:write)

put/v1/jobs/{jobId}/cancel

Path parameters

jobIdinteger required

Headers

Customer-Idinteger required

The customer identifier

Request body

reasonstring nullable

A textual reason as to why the job is cancelled

Example request

{
  "reason": "Customer no longer requires the work"
}

Response

No Content