feature request: auto vmid

pixel

Renowned Member
Aug 6, 2014
138
3
83
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.