Google Roles API is not working

11 views
Skip to first unread message

Mrudul Bhojkar

unread,
Jun 25, 2024, 1:19:04 AM6/25/24
to Google APIs Discovery Service Users
Hi,

If I am using a user with non-super admin role to invoke below Roles/privileges API then I am getting not enough permission error- 
2.https://admin.googleapis.com/admin/directory/v1/customer/customer_id/roles/ALL/privileges

Can you please suggest a solution to fetch roles/privileges with non-super admin role user?

Thanks,
Mrudul

David Lara

unread,
Oct 17, 2024, 2:18:00 AM10/17/24
to Google APIs Discovery Service Users

Hi Mrudul,

The APIs you're trying to access require Super Admin privileges, which is why you're getting a "not enough permission" error with a non-super admin account. Unfortunately, there’s no direct way to fetch roles/privileges using a non-super admin role. You would need a Super Admin account to make these API calls.

Best Regards,
Top Follow

Reply all
Reply to author
Forward
0 new messages