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.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

roles_contextstringOptional

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.

Response

A list of assignable roles
roleslist of objects
List of roles

Errors