- URL:
- https://<catalog-url>/<serviceName>/GPServer/<taskname>/jobs/<job-id>/cancel
- Methods:
- GET
- Version Introduced:
- 10.9.1
Description
The cancel  operation is performed on an asynchronous GP job  resource. This operation results in the cancellation of a geoprocessing job. You can provide an argument to the cancel  operation as defined in the parameters table below.
Request parameters
| Parameter | Details | 
|---|---|
| 
 | Description: The response format. The default response format is  Values:  | 
JSON Response syntax
{"jobId" : "<jobId>","jobStatus" : "<jobStatus>"}JSON Response example
{"jobId" : "JE30155054C2C416EA3CF6C88A40B94FF","jobStatus" : "esriJobCancelled"}