feature request: auto vmid

Aug 6, 2014
136
3
18
there are many api calls that require a vmid even when creating a new guest. can this be done automatically?

also would be nice to refer to guests by name instead of vmid in api calls.
 
there are many api calls that require a vmid even when creating a new guest. can this be done automatically?

You can use the ' /cluster/nextid' API to get the next free VMID.

also would be nice to refer to guests by name instead of vmid in api calls.

VM names are not unique, so we cannot use them.
 

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!