Get roles for currently logged in user

Gets roles assigned to currently logged in user. Both explicitly and transitively through group memberships

Authentication

Authorizationstring
API key needed to access this API
OR
AuthorizationBearer
API key needed to access this API, in Bearer token format

Query parameters

projectIdstringOptional
The id of the project you want to check permissions for

Response

rolesSchema
versioninteger>=1
The version of the role schema used
roleslist of objects
A list of roles

Errors