delete https://app.asana.com/api/1.0/tasks/
A specific, existing task can be deleted by making a DELETE request on
the URL for that task. Deleted tasks go into the “trash” of the user
making the delete request. Tasks can be recovered from the trash within a
period of 30 days; afterward they are completely removed from the system.
Returns an empty data record.
200
Successfully deleted the specified task.
400
This usually occurs because of a missing or malformed parameter. Check the documentation and the syntax of your request and try again.
401
A valid authentication token was not provided with the request, so the API could not associate a user with the request.
403
The authentication and request syntax was valid but the server is refusing to complete the request. This can happen if you try to read or write to objects or properties that the user does not have access to.
404
Either the request method and path supplied do not specify a known action in the API, or the object specified by the request does not exist.
500
There was a problem on Asana’s end. In the event of a server error the response body should contain an error phrase. These phrases can be used by Asana support to quickly look up the incident that caused the server error. Some errors are due to server load, and will not supply an error phrase.