Delete virtual machine

Options

optiondescriptionAllowed values
vmidthe virtual machine id you want to deletestring
filter-namea regex applied on virtual machine namestring
confirmdoes not ask for confirmationN/A
blockblock the command until it finishedN/A

Examples

  • delete a virtual machine by its id
proxcli vms delete --vmid 111
  • delete all virtual machines matching the specified regex
proxcli vms delete --filter-name "^b4p"
  • delete all virtual machines matching the specified regex without any confirmation and wait for all deletion to be finished before exiting
proxcli vms delete --filter-name "^b4p" --confirm --block