Users
List user roles
Retrieves all roles assigned to a user within a specific organization. This includes both direct role assignments and inherited roles from role hierarchy.
get/api/v1/organizations/{organization_id}/users/{user_id}/roles
Path parameters
organization_idstring required
Unique identifier for the organization
user_idstring required
Unique identifier for the user
Response
Successfully retrieved the list of roles assigned to the user
Example response
{
"roles": [
{
"display_name": "Dev Team",
"id": "role_79643236410327240",
"name": "team_dev"
}
]
}