[PVE-User] 2.0 API, delete qemu image??

Dietmar Maurer dietmar at proxmox.com
Mon Jun 4 17:35:13 CEST 2012


> http://pve.proxmox.com/pve2-api-doc/
> 
> How do I delete a QEMU image? via pvesh I can use delete
> notes/<node>/qemu/<QMID> but I don't see an equivalent in the API docs.

pvesh is the API. And the call is also documented in the API docs.
So what do you miss exactly?

> I'd also like to be able to restore an image from a backup via the API!  Can
> anyone suggest how to do this, short of SSHing over to the server and issuing
> the commands please? :)

The 'PUSH nodes/<node>/qemu' API has an 'archive' parameter.

(create and restore is the same API).

- Dietmar




More information about the pve-user mailing list