update_content_type
Replace a content type's full definition to add, remove, or rename fields and change options; send the complete schema; omitted fields are deleted and existing content is not migrated.
Instructions
Replace a content type's definition (add/remove/rename fields, change options). name and kind are immutable. Send the FULL definition — get_content_type, edit, send back; a field you leave out is removed from the schema. Existing content is not migrated: its stored values for removed fields are simply no longer shown or delivered. Instance-wide (all sites).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The existing type's name, e.g. 'BlogPost'. | |
| 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 get_content_type returns; its valueFormat/valueExample annotations are ignored). |