update_type_template
Replace a stored type template's definition. Built-in templates are read-only (copy with create_type_template); existing content types need re-apply via instantiate_type_template.
Instructions
Replace a stored type template's definition (name and kind are immutable; built-in templates are read-only — copy one under a new name with create_type_template instead). Content types already instantiated from it are NOT changed; re-apply with instantiate_type_template {updateExisting:true}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The stored template's name. | |
| site | No | Site slug or id to act in (multisite). Omit to use this server's default site. Call list_sites to see what exists — an empty tree or search usually means the wrong site, not missing content. | |
| definition | Yes | The full updated ContentTypeDef (same shape as create_content_type). |