delete_reference_doc_version
Permanently remove a specific version from a reference document's history, excluding the working draft and published version. This destructive action can be reversed until the version is purged.
Instructions
Permanently remove one entry from a reference_doc's version history. The working draft and the currently published version are protected and cannot be targeted this way. Recoverable with restore_deleted_reference_doc_version until it is purged for good.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The reference_doc's id. | |
| confirm | Yes | Must be true. Acknowledges you understand this is destructive. | |
| versionId | Yes | The version row's UUID (not the checkpoint number). |