Skip to main content
PATCH
Update a role
Updates an existing custom role. System roles cannot be updated. All fields are optional - only provided fields will be updated.

التفويضات

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.

roleId
string<uuid>
مطلوب

ID of the requested role.

الجسم

application/json
name
string

New name for the role

actors
string[]

New list of actor resource IDs (replaces existing actors)

policies
object[]

New list of policies (replaces existing policies)

الاستجابة

Successful response

status
number

HTTP status code.

مثال:

200

requestId
string<uuid>

Unique id assigned to every request. UUIDv4

result
object
آخر تعديل في ٢٤ يوليو ٢٠٢٦