Users V2
Get User Roles
Changed onUse this API to retrieve a list of roles assigned to a specific user.
get/api/access/v2/users/{userId}/access-levels
Request
- Base URLhttps://hostname
- URLhttps://hostname/api/access/v2/users/{userId}/access-levels
- AuthOAuth 2Client credentialsToken URL: https://{hostname}/api/access/v1/oauth/token scopes: USER, USER_READ
Path parameters
userIdstring uuid required
The unique identifier of the user.
Response
User access levels retrieved successfully
Example response
[
{
"organizationId": "423e4567-e89b-12d3-a456-426614174000",
"organizationName": "My Org",
"roleId": "423e4567-e89b-12d3-a456-426614174001",
"roleName": "Audit Manager"
}
]Changes
- info
the security scope
USER_READwas added to the endpoint's security schemePlatform-AccessManagement_OAUTH2
- info