Give user access to a specific vm using API

Yohance Etienne

New Member
Mar 26, 2019
1
0
1
22
I'm working on a project for a professor where I script the creation of a bunch of users an make 3VMS for each of them .
The catch is each user should only be able to access their own VMs but i can only use API requests to make this happen.
I want to add the following roles to each user on each VM:
VM.PowerMgmt
VM.Console
VM.Monitor
VM.Backup​
and this is where I am stuck.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!