Delete empty project
DELETE
/projects/{id}Deletes the project only when it contains no tasks.
Contract
Parameter | Value |
|---|---|
| Section | projects |
| Authentication | CookieAuth |
| Consumes | not required |
| Produces | application/json |
Parameters
1 parameter
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| id | path | yes | integer | Project ID |
Responses
5 responses
Status | Description | Type |
|---|---|---|
200 | Project deleted | no body |
400 | Invalid ID | object |
401 | Unauthorized | object |
409 | Project contains tasks | object |
500 | Internal server error | object |
{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }