qm destroy

Destroy a virtual machine in QEMU/KVM Virtual Machine Manager. More information: https://pve.proxmox.com/pve-docs/qm.1.html.

qm destroy vm_id

qm destroy vm_id --destroy-unreferenced-disks

qm destroy vm_id --purge

sudo qm destroy vm_id --skiplock