Cancel GP Job

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

ParameterDetails

f

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

Values: html | json

JSON Response syntax

Use dark colors for code blocksCopy
1
{"jobId" : "<jobId>","jobStatus" : "<jobStatus>"}

JSON Response example

Use dark colors for code blocksCopy
1
{"jobId" : "JE30155054C2C416EA3CF6C88A40B94FF","jobStatus" : "esriJobCancelled"}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.