Get roles
Retrieve a list of roles. Includes roles created in your tenant and, when owner_id=auth0 is supplied, Auth0-managed System Roles.
Note: The returned list does not include standard roles available for tenant members, such as Admin or Support Access.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Number of results per page. Defaults to 50.
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).
Optional filter on name (case-insensitive).
Optional filter on the type of the role The type of the role
tenant, organization Filter organization-level roles by owner ID. Use an organization ID to filter that organization's roles, or "auth0" to retrieve Auth0-managed System Roles. Required when type is "organization".
50Optional Id from which to start selection.
Number of results per page. Defaults to 50.
1 <= x <= 100Response
Roles successfully retrieved.
- Option 1 · object[]
- Option 2 · object
- Option 3 · 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: an organization id, or "auth0" for Auth0-managed System Roles.
50