Role Management

Create a new role

Creates a new custom role for an organization with specified policies and actors.

post/v1/organizations/{organizationId}/roles

Request

  • Base URL: https://api.clickhouse.cloud
  • URL: https://api.clickhouse.cloud/v1/organizations/{organizationId}/roles
  • Auth: HTTP basic

Path parameters

organizationIdstring uuid required

ID of the requested organization.

Request body

namestring required

Name of the role

actorsstring[] required

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

Response

Successful response

statusnumber

HTTP status code.

requestIdstring uuid

Unique id assigned to every request. UUIDv4

Example response

{
  "status": 200
}

Changes

No recorded changes to this operation across all 1 revision of this API.