qm-destroy
Permanently remove a Proxmox virtual machine
TLDR
Destroy a specific virtual machine
$ qm destroy 100
Destroy all unreferenced disks$ qm destroy 100 --destroy-unreferenced-disks
Destroy and purge from all locations$ qm destroy 100 --purge
Force destroy ignoring locks$ sudo qm destroy 100 --skiplock
SYNOPSIS
qm destroy vmid [options]
DESCRIPTION
qm destroy permanently removes a virtual machine from Proxmox VE. It can optionally remove associated disks and purge the VM from all system locations including backup jobs and high availability configuration.
The skiplock option bypasses safety locks but requires root privileges.
PARAMETERS
--destroy-unreferenced-disks
Remove disks not referenced in VM configuration--purge
Remove from all locations (inventory, backups, HA, etc.)--skiplock
Ignore locks and force destruction
CAVEATS
Destruction is permanent and cannot be undone. Ensure backups exist before destroying important VMs. Purge option removes all traces including scheduled backups.
HISTORY
Part of Proxmox VE QEMU/KVM management tools for virtual machine administration.
