delete_type_template
Permanently remove a specific type template from the Paperboy CMS library. This action purges the template definition without affecting existing content items instantiated from it.
Instructions
Permanently delete a stored type template from the library (built-ins can't be deleted). Content types instantiated from it, and their content, are NOT affected. Returns {ok: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. |