cURL
curl --request GET \ --url https://aodocs.altirnao.com/api/user/v1beta1/me/roles \ --header 'Authorization: Bearer <token>'
{ "combinedPrivileges": {}, "kind": "<string>", "roles": [ { "id": "<string>", "kind": "<string>", "privileges": {}, "type": "LIBRARY" } ] }
Lists domain role information for the current user of the given domain.
The access token received from the authorization server in the OAuth 2.0 flow.
The security code
The G Suite domain
A ApiUserRolesData response
The combination of the list of privileges granted across all roles the user is involved in
Show child attributes
The list of roles (and associated privileges) the user is involved in