API Proxmox DeleteVM

Cubix Gamer

New Member
Jun 17, 2022
10
0
1
Hello,
I would like to know if it is possible with the proxmox API, to make API requests to delete a VM using an html request

Thanks in advance for your answers
 
But doesn't the GET function delete?
no, 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
 
no, 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
Ok thank you very much
And also by chance is it possible to reinstall a lxc just with a different os
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!