- URL:
 - https://[root]/community/users/[userName]/tasks/[taskID]/delete
 - Methods:
 POST- Version Introduced:
 - ArcGIS Enterprise 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=pjsonThe following is a sample ArcGIS Enterprise POST request for the delete operation:
POST /<context>/sharing/rest/community/users/NBadmin/tasks/6ea7cdac8dec466aabaa1ec258e3e601/delete HTTP/1.1
Machine: organization.example.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
f=pjsonDescription
The delete operation deletes a specific task as well as all of its associated runs and resources.
Request parameters
| Parameter | Details | 
|---|---|
  | The response format. the default format is  Values:   | 
JSON Response example
{
  "success": true,
  "taskId": "6ea7cdac8dec466aabaa1ec258e3e601"
}