API Request

webbytech

New Member
Mar 27, 2011
18
0
1
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
 
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 ?
 
@webbytech: I'd think it's a better idea to post feature request to the bug tracker. Bigger chance the devs will look at it...
 
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 ?

@spirit - I do NOT work for WHMCS. Im working on a WHMCS Module for internal use and at some point we may release it GPL or for sale but for now its internal use only.

The API has create, start, stop and management features but does not have a Destroy/Remove/Terminate a full VM like the gui does. Should be fairly easy. If I could find actual development info on the API I could add it ourselves
 
The API has create, start, stop and management features but does not have a Destroy/Remove/Terminate a full VM like the gui does.

The GUI is implemented using the API, so there is a destroy.

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:)