common-remove-item-version-by-id
Remove specific versions of a Sitecore content item by ID, supporting language and version wildcards for bulk operations, with options to archive or delete recursively.
Instructions
Removes a version of a Sitecore item by ID.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the item to remove version for. | |
| language | Yes | Language that should be deleted form the provided item. Language parameter supports globbing so you can delete whole language groups using wildcards. | |
| version | No | Version that should be deleted form the provided item. Version parameter supports globbing so you can delete whole version groups using wildcards. | |
| recurse | No | Removes language versions from the item and all of its children. | |
| maxRecentVersions | No | Trims the selected language to value specified by this parameter. | |
| database | No | The database containing the item (defaults to the context database). | |
| archive | No | Moves the items to the archive rather than recycle bin. |