Destroy the VM and all used/owned volumes. Removes any VM specific permissions and firewall rules
HTTP: DELETE /api2/json/nodes/{node}/qemu/{vmid}
CLI: pvesh delete /nodes/{node}/qemu/{vmid}
Does it work for lxc containers too?yes, of course:
https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/qemu/{vmid}
Code:Destroy the VM and all used/owned volumes. Removes any VM specific permissions and firewall rules HTTP: DELETE /api2/json/nodes/{node}/qemu/{vmid} CLI: pvesh delete /nodes/{node}/qemu/{vmid}
Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
That specific API call? No, it does not... You would need an API call for LXC...Does it work for lxc containers too?
Because it is my case
Directory index
HTTP: GET /api2/json/nodes/{node}/lxc/{vmid}
CLI: pvesh get /nodes/{node}/lxc/{vmid}
But doesn't the GET function delete?That specific API call? No, it does not... You would need an API call for LXC...
https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/lxc/{vmid}
Code:Directory index HTTP: GET /api2/json/nodes/{node}/lxc/{vmid} CLI: pvesh get /nodes/{node}/lxc/{vmid}
Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
no, I pasted wrong output from the page I referenced in prior replies..:But doesn't the GET function delete?
Destroy the container (also delete all uses files).
HTTP: DELETE /api2/json/nodes/{node}/lxc/{vmid}
CLI: pvesh delete /nodes/{node}/lxc/{vmid}
Ok thank you very muchno, I pasted wrong output from the page I referenced in prior replies..:
Code:Destroy the container (also delete all uses files). HTTP: DELETE /api2/json/nodes/{node}/lxc/{vmid} CLI: pvesh delete /nodes/{node}/lxc/{vmid}
Check this resource out https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/lxc/{vmid} - very useful..
Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
We use essential cookies to make this site work, and optional cookies to enhance your experience.