API Reference

Delete a single task

Description

Deletes a task given its ID

DELETE /tasks/{taskId}

🚧

Required OAuth Scopes:

task:write

Parameters

ParameterInTypeRequiredDescription
taskIdpathstringtrueThe 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)

print(r.json())

Returns

204 - No Content