PATCH/spaces/api/v1/templates/local/{templateID}.json
update a local/custom template
Path Params
- Name
templateID
- Type
- integer
- required
- Description
Body Params
- Name
template
- Type
- object
- Description
- TemplateUpdate is used for partial updates to a Template record. As many or few fields can be supplied and only those supplied will be updated in the store.
Responses
- Code
- 200
- Type
- object
- Schema
- Description
- 200 OK
- Code
- 400
- Type
- object
- Schema
- Description
- 400 Bad Request
- Code
- 404
- Type
- object
- Schema
- Description
- 404 Not Found
- Code
- 500
- Type
- object
- Schema
- Description
- 500 Internal Server Error
200 OK
Template
{
"template": {
"content": "string",
"contentRevision": 0,
"createdAt": "2024-09-06T11:47:28.940Z",
"createdBy": {
"id": 0,
"meta": {},
"type": "string"
},
"deletedAt": "2024-09-06T11:47:28.940Z",
"deletedBy": {
"id": 0,
"meta": {},
"type": "string"
},
"description": "string",
"iconURL": "string",
"id": 0,
"isFullWidth": true,
"name": "string",
"state": "active",
"templateCount": 0,
"templateLastUsed": "2024-09-06T11:47:28.940Z",
"updatedAt": "2024-09-06T11:47:28.940Z",
"updatedBy": {
"id": 0,
"meta": {},
"type": "string"
}
}
}