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
마지막 수정일 2026년 7월 24일