delete_template_version
Permanently and immediately erase a single template version.
This is permanent: the version row, all its attached files, all version
verification records, and any content no longer referenced by any
surviving version or skill version are removed from the live system
at once. There is no recovery path. Use archive_template if you
want a reversible alternative for the whole template. Encrypted backups
age out within the platform's standard retention window (up to three
months), so the data is not instantly erased from all systems
everywhere, but it is no longer accessible through any product surface
after this call.
Serving gate: the version must first be unpublished
(unpublish_template_version) before it can be erased. A
still-published version cannot be permanently deleted because it is
currently being served to readers. Unpublish it first, then call this
operation. To remove the entire template including all its versions, use
delete_template instead.
Version numbers remain monotonic with a gap where the erased version was. Surviving versions are not renumbered.
Owner only. Pointing at another user's template raises NotFound.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | The version number to permanently erase. | |
| template_id | Yes | The template to act on, identified by its UUID or @handle/slug. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||