Skip to main content
GET
List all available roles for an organization
Returns available roles (system + custom) for an organization, ordered by unique role ID ascending. Results are capped at limit (default and maximum 250) per page. Pass nextCursor as the cursor query parameter to fetch the next page until it is null.

Permission

The API key must have the control-plane:organization:manage permission.

Authorizations

Authorization
string
header
required

Use key ID and key secret obtained in ClickHouse Cloud console: https://clickhouse.com/docs/cloud/manage/openapi

Path Parameters

organizationId
string<uuid>
required

ID of the requested organization.

Query Parameters

limit
integer
default:250

Maximum number of results to return.

Required range: x >= 1
cursor
string

Opaque cursor from a previous response's nextCursor, marking where to resume the list.

Response

Successful response

status
number

HTTP status code.

Example:

200

requestId
string<uuid>

Unique id assigned to every request. UUIDv4

result
object[]
limit
integer

Maximum number of results returned in this page.

nextCursor
string | null

Cursor for the next page, to be sent as the cursor query parameter. Null on the last page.