pve_snapshot_delete
Delete a snapshot from a VM or container to remove a restore point. Use confirm=true to execute; dry-run by default.
Instructions
MUTATION: delete a snapshot (removes a restore point) — you can't roll back to it afterward. Dry-run by default; confirm=True to execute. Async — returns the task UPID, poll with pve_task_status. To create a snapshot instead of removing one use pve_snapshot_create.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Guest type: `lxc` for a container or `qemu` for a VM. | lxc |
| node | No | PVE node the guest runs on. Omit to resolve it automatically from the cluster. | |
| vmid | Yes | Numeric ID of the guest — VMID for a QEMU VM or CTID for an LXC container. | |
| force | No | Force removal even if the snapshot has children or the backend reports an inconsistent state. | |
| confirm | No | Leave `false` (default) to get a dry-run PLAN; set `true` to execute the deletion. | |
| snapname | Yes | Name of the snapshot to delete. | |
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |