Skip to main content
POST
Create a new role
Creates a new custom role for an organization with specified policies and actors.

Авторизации

Authorization
string
header
обязательно

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

Параметры пути

organizationId
string<uuid>
обязательно

ID of the requested organization.

Тело

application/json
name
string
обязательно

Name of the role

actors
string[]
обязательно

List of actor resource IDs to assign to this role (e.g., ["user/uuid", "apiKey/uuid"])

policies
object[]
обязательно

List of policies to create for this role

Ответ

Successful response

status
number

HTTP status code.

Пример:

200

requestId
string<uuid>

Unique id assigned to every request. UUIDv4

result
object
Последнее изменение 24 июля 2026 г.