{{getMsg('Help_YouAreHere')}}:
/
{{page.title}}
{{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}}
{{helpModel.downloadHelpPdfDataStatus}}
Job Cancelation
Requests the cancelation of a job. It is not safe to say that the job will indeed be canceled if it is already running.
GET /api/jobmanager/<JobId>/cancel
Requests the cancelation of a job. A 404
status will be sent if the job does not exist. Otherwise the response will be a 200 OK
Status.
Example Request
# Request # Use user:password for authorization GET /api/jobmanager/1a08000qegi48j227uj7k6wa8/cancel HTTP/1.1 Accept: */* Authorization: Bearer VGhpcyBpcyBqdXN0IGEgZGVtbyBhY2Nlc3MgdG9rZW4u # Response HTTP/1.1 200 OK
Application Example
# Browser access http://127.0.0.1:9000/api/jobmanager/1a08000qegi48j227uj7k6wa8/cancel # Shell access using curl curl -LsH "Authorization: Bearer <access_token>" "http://127.0.0.1:9000/api/jobmanager/1a08000qegi48j227uj7k6wa8/cancel" # Shell access using curl using username and password curl -Lsu username:password "http://127.0.0.1:9000/api/jobmanager/1a08000qegi48j227uj7k6wa8/cancel"