Delete task template
DELETE
/task-templates/{id}Soft-deletes the template from the shared library.
Contract
Parameter | Value |
|---|---|
| Section | task-templates |
| Authentication | CookieAuth |
| Consumes | not required |
| Produces | application/json |
Parameters
1 parameter
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| id | path | yes | integer | Template ID |
Responses
5 responses
Status | Description | Type |
|---|---|---|
200 | Template deleted | no body |
400 | Invalid ID | object |
401 | Unauthorized | object |
404 | Template not found | object |
500 | Internal server error | object |
{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }