I am working to automate admin access for pritunl.
Starting with revoking admins, I can get the list and individuals but can’t update them to disabled=true.
Any thoughts on what I can do?
GET
/admin
returns list of admins
GET
/admin/961517c61z5up849me995e71
returns only a specific admin
PUT
/admin/961517c61z5up849me995e71
returns 404.
Body
{
“id”: “961517c61z5up849me995e71”,
“username”: "test-rando-user,
“yubikey_id”: null,
“otp_auth”: true,
“otp_secret”: “”,
“auth_api”: false,
“token”: “xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”,
“secret”: "“xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”,
“default”: false,
“disabled”: true,
“super_user”: true,
“audit”: true
}