{ "operationId": "templatesUpdate", "path": "/templates.update", "method": "POST", "summary": "Update a template", "tags": [ "Templates" ], "requestSchema": { "type": "object", "properties": { "id": { "type": "string", "description": "Unique identifier for the template. Either the UUID or the urlId is acceptable." }, "title": { "type": "string", "description": "The title of the template." }, "data": { "type": "object", "description": "The body of the template as a Prosemirror document." }, "icon": { "type": "string", "description": "An emoji to use as the template icon.", "nullable": true }, "color": { "type": "string", "description": "The color of the template icon in hex format.", "nullable": true, "pattern": "^#[0-9A-Fa-f]{6}$" }, "fullWidth": { "type": "boolean", "description": "Whether the template should be displayed full width." }, "collectionId": { "type": "string", "format": "uuid", "description": "Identifier for the collection to which the template belongs. Set to null for a workspace-wide template.", "nullable": true } }, "required": [ "id" ] } }