pve_snapshot_delete
Permanently delete a snapshot of a VM or container. Requires confirmation and frees disk space.
Instructions
Delete a snapshot of a VM or container. DESTRUCTIVE.
Applies to: QEMU VMs and LXC containers, located by ``vmid`` (``node``
optional and auto-resolved). Requires ``confirm=true``: the snapshot
``name`` is removed permanently and can no longer be rolled back to.
Side effects: frees the snapshot's disk space; the guest keeps running
unaffected. Waits up to PVE_MCP_TASK_WAIT seconds; returns JSON with
``vmid``/``node``/``type``/``snapshot`` and ``task``.
Source: DELETE /nodes/{node}/{qemu|lxc}/{vmid}/snapshot/{name}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| node | No | ||
| vmid | Yes | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |