- URL:https://<run-url>/delete(POST only)
- Version Introduced:10.8.1
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
Parameter | Details |
---|---|
f | The response format. The default format is html. Values: html | json | pjson |
Example usage
Below is a sample POST request for delete:
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
JSON Response example
{
"success": true,
"taskId": "308a978eeea1487bb9a46a14c4545b44",
"runId": "606728866cbf4a1bb8e4c2e80061e954"
}