API Questions

earyutin

New Member
Jun 22, 2023
1
0
1
Hi all !

Not finding answers to my questions, I decided to ask them here.

1. Is it possible to connect to the API from an account with the "Auditor" role?

2. Is it possible to connect to the API from an employee account with LDAP authorization to manage quarantine and white/black lists?

3. Is it possible to manage the user's quarantine through the API, white / black lists using the root account?


Thank you !
 
1. Is it possible to connect to the API from an account with the "Auditor" role?
Yes - PMG's API is similar to the one from PVE - see this wiki-page for a HOWTO:
https://pve.proxmox.com/wiki/Proxmox_VE_API

2. Is it possible to connect to the API from an employee account with LDAP authorization to manage quarantine and white/black lists?
LDAP authorization is available for the end-user quarantine - so a user can login with their LDAP credentials, and edit their own welcome/blocklist - but not the lists of other users (for this you need a dedicated account in PMG)

3. Is it possible to manage the user's quarantine through the API, white / black lists using the root account?
Yes

I hope this helps!