Skip To Content
ArcGIS Developers
Dashboard

Delete Job

Description

License:

The ArcGIS Data Reviewer Server extension is required to use this resource.

Note:

This resource is dependent on ArcGIS Data Reviewer’s ArcMap runtime-based server object extension (SOE). ArcGIS Enterprise 10.9.x, part of the ArcGIS 2021 releases, will be the last release of ArcGIS Enterprise to support services published from ArcMap.

To prepare for this change, Esri recommends that customers consider Data Reviewer capabilities enabled using ArcGIS Pro and integrated in the Validation service.

A REST resource that removes a batch job from the queue. This operation only applies to scheduled jobs.

Request parameters

ParameterDetails
f

The response format. The default response format is html.

Values: html | json

Example usage

Example 1: Delete batch job e4aa6cfd-430c-4a22-a136-201ba3ee7f70.

https://localhost:6443/arcgis/rest/services/reviewer/MapServer/exts/DataReviewerServer/BatchValidation/scheduledJobs/e4aa6cfd-430c-4a22-a136-201ba3ee7f70/deleteJob?f=pjson

JSON Response example

{
  "deleted": true
}

JSON Response example

A response for a request to delete a job that has no schedule, or does not exist.

{
  "error": {
    "code": 500,
    "message": "Job not found: e4aa6cfd-430c-1999-a136-201ba3ee7f70"
  }
}