List roles
List available user roles in an Organization.
Path parameters
organizationId
The Organization’s ID.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
includeDefaultRoles
Whether to include default Astro roles in the returned list.
scopeTypes
Filter the list of roles based on the scope of each role.
Allowed values:
offset
Offset for pagination.
limit
Limit for pagination.
sorts
Sorting criteria, each criterion should conform to format ‘fieldName:asc’ or ‘fieldName:desc’.
Response
OK
limit
The number of custom roles returned.
offset
The offset of the custom roles.
roles
The list of custom roles.
totalCount
The total number of custom roles.
defaultRoles
The list of default roles.