Skip To Content
ArcGIS Developer
Dashboard

Cancel GP Job

  • URL: https://<catalog-url>/<serviceName>/GPServer/<taskname>/jobs/<job-id>/cancel
  • 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

ParameterDetails
f

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

Values: html | json

JSON Response syntax

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

JSON Response example

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