Give user access to a specific vm using API

Yohance Etienne

New Member
Mar 26, 2019
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:
and this is where I am stuck.


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!