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

Description

Deletes a job.

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.
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 ID 5 in the "Workflow" service on sampleserver.

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

Example 2: URL for deleting job ID 5, along with its activity history, in the "Workflow" service on sampleserver.

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

JSON Response Syntax

{ "success": true }

JSON Response Example

{ "success": true }