Skip to main content

DELETE /tasks


Deletes data on a task and returns an empty json object

The route handles the DELETE request made to the /tasks/{id} path.

Only one task can be removed per request. All child tasks, if any, are also removed.

HTTP methodRouteQuery parameter

Query parameters

The ID of a task that should be removed is sent in the request line.

idnumberRequired. The id of a task to be removed.


No payload is required.


The route returns an empty json object in case of a successful request.

The HTTP status code shows whether the request succeeds (response.status == 200) or fails (response.status == 500).

Related articles: