Detach VM disk
unlink_vm_diskDetach a disk from a VM while keeping the disk file on the storage pool. For migration, use move_vm_disk; to permanently remove, use delete.
Instructions
Detach a disk from a VM (the disk file remains on the storage pool). Use move_vm_disk to migrate; use delete via Proxmox UI to actually remove.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| disk | Yes | Disk identifier (e.g. scsi0) | |
| node | Yes | ||
| vmid | Yes | ||
| force | No | Force-unlink even if disk in use |