K kotakomputer Renowned Member May 14, 2012 429 13 83 Jakarta, Indonesia www.proxmoxindo.com Sep 1, 2013 #1 I've searching http://pve.proxmox.com/pve2-api-doc/ but can not find API to ADD user/group permission to certain VM ID. Any idea?
I've searching http://pve.proxmox.com/pve2-api-doc/ but can not find API to ADD user/group permission to certain VM ID. Any idea?
dietmar Proxmox Staff Member Staff member Apr 28, 2005 17,261 661 213 Austria www.proxmox.com Sep 2, 2013 #2 The API entry point is /access/acl. For example: # pvesh set /access/acl --path /vms/200 --user joe@pve --role PVEAuditor To see current ACLs use # pvesh get /access/acl To delete above ACL use # pvesh set /access/acl --path /vms/200 --user joe@pve --role PVEAuditor --delete
The API entry point is /access/acl. For example: # pvesh set /access/acl --path /vms/200 --user joe@pve --role PVEAuditor To see current ACLs use # pvesh get /access/acl To delete above ACL use # pvesh set /access/acl --path /vms/200 --user joe@pve --role PVEAuditor --delete
K kotakomputer Renowned Member May 14, 2012 429 13 83 Jakarta, Indonesia www.proxmoxindo.com Sep 2, 2013 #3 Thanks!