[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
 

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!