- URL:https://<task-url>/delete(POST only)
- Version Introduced:10.8.1
Description
This operation deletes a task, as well as all of it's associated runs and resources.
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/6ea7cdac8dec466aabaa1ec258e3e601/delete HTTP/1.1
Machine: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
f=pjson
JSON Response example
{
"success": true,
"taskId": "6ea7cdac8dec466aabaa1ec258e3e601"
}