v1
latestOpenAPI 3.1.02026-08-04118425322.0 KBuserManagement
List Roles
List all assignable roles.
The roles returned are scoped to the roles context. For example, if the roles_context is "dataset:123", the endpoint will return all roles that are assignable to dataset with id "123". If the roles_context is "system", the endpoint will return all system-level roles that are assignable in the organization.
If no roles_context is provided, the endpoint will return all system-level and dataset-level roles in the organization.
get/api/v1/auth-management/roles
Query parameters
roles_contextstring nullable
Context for the roles to include in the response. This can either be 'system' for system-level roles or 'dataset:{dataset_id}' for dataset-level roles.
Headers
Authorizationstring required
Bearer authentication
Response
A list of assignable roles