[SOLVED] API: Create LXC Docs?

new2proxmox

New Member
Jun 8, 2022
16
4
3
I'm looking at the raw api docs here:

https://pve.proxmox.com/pve-docs/api-viewer/index.html

But I can't seem to find the equivalent of the create lxc container in it.

I feel like I'm missing something really simple there. Can someone please point out where in there the create lxc container api endpoint is? I'd really appreciate it.

Thanks in advance.
 
Last edited:
it's a post request to /nodes/{node}/lxc.

In the API viewer, there's a button "POST" and "GET" at the top to switch between these two methods
 
Last edited:
Ugg. Thank you. I knew I was missing something simple. I kept clicking the + sign and expanding the tree but didn't click on the actual top-level lxc root.

Thanks again.
 
No problem! Please mark the thread as solved, in case others have the same problem. If you click on edit, there's a dropdown near the title