Skip To Content

/[taskID]/delete: Delete Task

  • URL:https://[root]/community/users/[userName]/tasks/[taskID]/delete(POST only)
  • Version Introduced:10.8.1

Example usage

The following is a sample ArcGIS Online POST request for the delete operation:


POST sharing/rest/community/users/NBadmin/tasks/6ea7cdac8dec466aabaa1ec258e3e601/delete HTTP/1.1
Machine: org.arcgis.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

f=pjson

The following is a sample ArcGIS Enterprise POST request for the delete operation:


POST /webadaptor/sharing/rest/community/users/NBadmin/tasks/6ea7cdac8dec466aabaa1ec258e3e601/delete HTTP/1.1
Machine: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

f=pjson

Description

The delete operation deletes a specific task as well as all of its associated runs and resources.

Request parameters

ParameterDetails
f

The response format. the default format is html.

Values: html | json | pjson

JSON Response example


{
  "success": true,
  "taskId": "6ea7cdac8dec466aabaa1ec258e3e601"
}