Get a user's roles
Retrieve detailed list of all user roles currently assigned to a user.
Note: This action retrieves all roles assigned to a user in the context of your whole tenant. To retrieve Organization-specific roles, use the following endpoint: Get user roles assigned to an Organization member.
Autorisations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Paramètres de chemin
ID of the user to list roles for.
Paramètres de requête
Number of results per page.
1 <= x <= 100Page index of the results to return. First page is 0.
x >= 0Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
Réponse
Roles successfully retrieved.
- object[]
- object
ID for this role.
Name of this role.
Description of this role.
The type of the role
tenant, organization The id of the entity that owns this role, such as an organization id.
50