Description
Deletes a task given its ID
DELETE
/tasks/{taskId}
Required OAuth Scopes:
task:write
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
taskId | path | string | true | The unique identifier of the task |
Code Samples
curl -X DELETE https://api.app.wdesk.com/platform/v1/tasks/{taskId} \
-H 'Authorization: Bearer {access-token}'
http DELETE https://api.app.wdesk.com/platform/v1/tasks/{taskId} \
Authorization:"Bearer {access-token}"
wget --method=DELETE "https://api.app.wdesk.com/platform/v1/tasks/{taskId}" \
--output-document - \
--header 'Authorization: Bearer {access-token}'
import requests
headers = {
'Authorization': 'Bearer {access-token}'
}
r = requests.delete('https://api.app.wdesk.com/platform/v1/tasks/{taskId}', headers = headers)