qm command to remove devices such as a disk from the vm config?

nktech1135

Member
Mar 2, 2018
25
7
8
USA
Hi.

I know i could do this in the UI, but i'd like to know how to do it on the command line.
To add a disk i can do qm set vmid --scsi0 /dev/disk/by-id/diskid
What would the qm command be to remove the disk above?

Thanks.