delete_policy_version
Permanently remove a policy version from its history, except for the working draft and currently published version. Deleted versions can be restored until purged.
Instructions
Permanently remove one entry from a policy's version history. The working draft and the currently published version are protected and cannot be targeted this way. Recoverable with restore_deleted_policy_version until it is purged for good.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The policy's id. | |
| confirm | Yes | Must be true. Acknowledges you understand this is destructive. | |
| versionId | Yes | The version row's UUID (not the checkpoint number). |