Skip to main content
GET
/
user
/
v1beta1
/
me
/
roles
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"
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

securityCode
string

The security code

domain
string

The G Suite domain

Response

200 - application/json

A ApiUserRolesData response

combinedPrivileges
object

The combination of the list of privileges granted across all roles the user is involved in

kind
string
roles
object[]

The list of roles (and associated privileges) the user is involved in