Cancel GP Job

  • URL:http:// <task-url>/jobs/<job-id>/cancel
  • Version Introduced:10.0


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 following parameters table:

Request parameters


Description: The response format. The default response format is html.

Values: html | json

Example usage


j8279ff17f3b348ddadb6c092cfb7e7ba is an example job ID, and the job ID of your job may vary.

JSON response syntax

{"jobId" : "<jobId>","jobStatus" : "<jobStatus>"}

JSON response example

{"jobId" : "JE30155054C2C416EA3CF6C88A40B94FF","jobStatus" : "esriJobCancelled"}