According to http://pve.proxmox.com/pve2-api-doc/ there is no Destroy/Remove command for a QEMU. Any chance of getting that added to the API? If so, then I can have a complete proxmox module for WHMCS thats fully automated
What do you want to destroy/remove ? a full vm ?
Just to known, do you work for whmcs? or are you working on a new (free) whmcs module ?
The API has create, start, stop and management features but does not have a Destroy/Remove/Terminate a full VM like the gui does.
HTTP: | DELETE /api2/json/nodes/{node}/qemu/{vmid} |
CLI: | pvesh delete /nodes/{node}/qemu/{vmid} |
Thanks dietmar, missed the DELETE tab. Feel like an idiot but the module works and is onto the next phase now