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日