User management

Update organization member

Updates organization member role.

patch/v1/organizations/{organizationId}/members/{userId}

Request

  • Base URL
    https://api.clickhouse.cloud
  • Auth
    HTTP basic

Path parameters

organizationId, string uuid required

ID of the organization the member is part of.

userId, string uuid required

ID of the user to patch

Request body

MemberPatchRequest required
role, 'admin' | 'developer'

DEPRECATED. Use assignedRoleIds instead. Role of the member in the organization.

assignedRoleIds, string[]

List of role IDs to assign to the member

Response

Successful response

object required
status, number

HTTP status code.

requestId, string uuid

Unique id assigned to every request. UUIDv4

result, Member

Example response

{
  "status": 200,
  "result": {
    "email": "jane.doe@example.com",
    "joinedAt": "2026-03-26T20:51:16Z"
  }
}

Changes

No recorded changes to this operation across all 35 revisions of this API.