delete_old_snapshots
Delete pvewarden snapshots older than a specified number of days (default 7), leaving newer snapshots untouched. Omit vmid to clean all guests tagged pvewarden-update.
Instructions
Delete pvewarden snapshots older than N days (default 7); other snapshots are never touched. Without vmid, cleans all guests tagged 'pvewarden-update'. Returns the deleted snapshots; an empty list means none were old enough. To delete one specific snapshot, use delete_snapshot. pvewarden asks the user to confirm in the client; if they decline, nothing changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vmid | No | Proxmox VMID of one guest; omit for every guest that allows updates. | |
| older_than_days | No | Delete snapshots older than this many days; 0 = all pvewarden snapshots. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |