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

Guy guy at britewhite.net
Mon Jun 4 18:12:49 CEST 2012


Hmm ok so how do I call this via a URL json call?

---Guy
(via iPhone)

On 4 Jun 2012, at 16:35, Dietmar Maurer <dietmar at proxmox.com> wrote:

>> 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
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4826 bytes
Desc: not available
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20120604/e0e2f166/attachment.bin>


More information about the pve-user mailing list