Role Management

List all available roles for an organization

Changed on

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.

get/v1/organizations/{organizationId}/roles

Request

  • Base URL
    https://api.clickhouse.cloud
  • Auth
    HTTP basic

Path parameters

organizationId, string uuid required

ID of the requested organization.

Query parameters

limit, integer

Maximum number of results to return.

cursor, string

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

Response

Successful response

object required
status, number

HTTP status code.

requestId, string uuid

Unique id assigned to every request. UUIDv4

result, RBACRole[]

List of results.

limit, integer

Maximum number of results returned in this page.

nextCursor, string nullable

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

Example response

{
  "status": 200,
  "result": [
    {
      "createdAt": "2026-03-26T20:51:16Z",
      "updatedAt": "2026-03-26T21:04:52Z"
    }
  ]
}

Changes

    • info

      added the new optional query request parameter cursor

    • info

      added the new optional query request parameter limit

    • info

      added the optional property limit to the response with the status

    1 more change in this revision