Skip to main content

DELETE /projects

Description

Deletes data on a project and returns an empty json object

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

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

HTTP methodRouteQuery parameter
DELETE/projectsid

Query parameters

The ID of a project to be removed is sent in the request line.

NameTypeDescription
idnumberRequired. The id of a project to be removed.

Payload

No payload is required.

Response

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: