update_template
Modify existing templates in LightCMS to change HTML layouts, fields, or metadata, which automatically regenerates all content using that template.
Instructions
Update an existing template. Changing the HTML layout will regenerate all content using this template.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Template category | |
| description | No | Template description | |
| fields | No | Template fields definition | |
| html_layout | No | HTML layout (changing this regenerates all content using this template) | |
| id | Yes | Template ID (MongoDB ObjectID),required | |
| name | No | Template name | |
| slug | No | Template slug |