Update task template
PATCH
/task-templates/{id}Changes only the name and description; the saved task snapshot remains unchanged.
Contract
Parameter | Value |
|---|---|
| Section | task-templates |
| Authentication | CookieAuth |
| Consumes | application/json |
| Produces | application/json |
Parameters
2 parameters
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| id | path | yes | integer | Template ID |
| request | body | yes | object | New name and description |
{ "description": "<string>", "name": "<string>" }
Responses
5 responses
Status | Description | Type |
|---|---|---|
200 | Template updated | no body |
400 | Invalid ID, request body, or metadata | 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>" }