cURL
curl --request GET \ --url https://aodocs.altirnao.com/api/user/v1beta1/me/roles/{libraryId} \ --header 'Authorization: Bearer <token>'
{ "combinedPrivileges": {}, "kind": "<string>", "roles": [ { "id": "<string>", "kind": "<string>", "privileges": {}, "type": "LIBRARY" } ] }
Lists role information for the current user of the given library.
The access token received from the authorization server in the OAuth 2.0 flow.
The ID of the library
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