Skip To Content

/[runID]/delete: Delete Run

  • URL:https://[root]/community/users/[userName]/tasks/[taskID]/runs/[runID]/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/308a978eeea1487bb9a46a14c4545b44/runs/606728866cbf4a1bb8e4c2e80061e954/delete HTTP/1.1
Host: 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/308a978eeea1487bb9a46a14c4545b44/runs/606728866cbf4a1bb8e4c2e80061e954/delete HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

f=pjson

Description

The delete operation deletes a specific run for a user-created task. Deleting a run also deletes any corresponding resource files associated with the item.

Request parameters

ParameterDetails
f

The response format. The default format is html.

Values: html | json | pjson

JSON Response example


{
  "success": true,
  "taskId": "308a978eeea1487bb9a46a14c4545b44",
  "runId": "606728866cbf4a1bb8e4c2e80061e954"
}