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

Guy guy at britewhite.net
Tue Jun 5 10:13:13 CEST 2012

Thanks... so sorry...must be going blind in my old age... or may be it's all the Jubilee celebrations going on here. <Hick>


On 5 Jun 2012, at 05:07, Dietmar Maurer wrote:

>> Ok for example... I use this curl command to  start a QEMU..
>> curl -s -k -XPOST -H 'CSRFPreventionToken:$CSRFPreventionToken'
>> '$host/api2/json/nodes/$PVEName/qemu/$VMID/status/start' -b
>> 'PVEAuthCookie=$key'
>> Can you give me the equivalent command to delete or to restore a backup?
> For example, to delete a VM use:
> curl -s -k -XDELETE -H 'CSRFPreventionToken:$CSRFPreventionToken' $host/api2/json/nodes/$PVEName/qemu/$VMID' -b 'PVEAuthCookie=$key'
> - Dietmar

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4885 bytes
Desc: not available
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20120605/ed60e5a5/attachment.bin>

More information about the pve-user mailing list