Cancel job
POST/jobs/:jobId:cancel
Cancel the processing of a job. This request has no effect if a job has not been started or has already finished.
If the job has already finished, its result is not affected by cancelJob.
The job’s result can still be requested using getJobResult.
If the job’s result is not required anymore, cancelJob is optional.
Instead, the job can simply be deleted using deleteJob.
Request
Responses
- 202
- 404
Cancellation has been requested successfully.
This status is returned even if it is too late to actually cancel the job,
for example when the job has already been canceled or finished.
The job result returned by getJobResult can be used to determine if the job
could actually be canceled successfully.
The job with the specified ID could not be found.