I am trying to invoke below Google Chrome API’s with non-super admin user
- https://admin.googleapis.com/admin/directory/v1/customer/customer_id/roles
- https://admin.googleapis.com/admin/directory/v1/customer/customer_id/roles/ALL/privileges
When I generate access token using the credentials with non-super admin role user and hit above API’s I am getting below error :
{
“error”: {
“code”: 403,
“message”: “Not Authorized to access this resource/api”,
“errors”: [
{
“message”: “Not Authorized to access this resource/api”,
“domain”: “global”,
“reason”: “forbidden”
}
]
}
}
**Both API’s mentioned above works fine with super admin role user.
**
So, Is Roles/Privileges API can not be accessed with non-super admin user? Can you suggest me a solution if there is any to fetch Roles/privileges with non-super admin user?
Mrudul Bhojkar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.