FRAMES | NO FRAMES Description | Parameters | Examples | Response
Delete Jobs (Operation)
URL http://<jobs-url>/delete
Parent Resource Jobs

Description

Deletes one or more jobs.

When a job is deleted, any map document (MXD) and geodatabase version associated with the job are also deleted.

Parameters

Parameter Details
f Description: The response format. The default response format is html.

Values: html | json
user Required
Description: The username of the client.
jobs Required
Description: A comma-separated list of job IDs.
deleteHistory Description: Indicates whether or not to delete the associated job history. The default is false.

Values: true | false

Example Usage

Example 1: URL for deleting job IDs 5, 6, and 9 in the "Workflow" service on sampleserver.

http://sampleserver/arcgis/rest/services/Workflow/WMServer/jobs/delete?user=cjones&jobs=5,6,9

Example 2: URL for deleting job IDs 5, 6, and 9, along with their activity history, in the "Workflow" service on sampleserver.

http://sampleserver/arcgis/rest/services/Workflow/WMServer/jobs/delete?user=cjones&jobs=5,6,9&deleteHistory=true

JSON Response Syntax

{ "success": true }

JSON Response Example

{ "success": true }