---
title: "Update organization details"
method: PATCH
path: "/v1/organizations/{organizationId}"
tags: ["Organization"]
---

# Update organization details

`PATCH /v1/organizations/{organizationId}`

## Request

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

Updates organization fields. Requires ADMIN auth key role.

## Path parameters

- `organizationId` string, uuid, required

## Request body

- OrganizationPatchRequest
  - `name` string: Name of the organization.
  - `privateEndpoints` OrganizationPrivateEndpointsPatch
    - `add` OrganizationPatchPrivateEndpoint[]: DEPRECATED. Elements to add. Executed after "remove" part is processed. Please use the `Update Service Basic Details` endpoint with the `privateEndpointIds` field instead to modify the private endpoints.
      - `id` string: Private endpoint identifier
      - `description` string: Optional description of private endpoint
      - `cloudProvider` 'gcp' | 'aws' | 'azure': Cloud provider in which the private endpoint is lcoated
      - `region` 'ap-northeast-1' | 'ap-northeast-2' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ca-central-1' | 'eu-central-1' | 'eu-west-1' | 'eu-west-2' | 'il-central-1' | 'us-east-1' | 'us-east-2' | 'us-west-2' | 'us-east1' | 'us-central1' | 'europe-west2' | 'europe-west4' | 'asia-southeast1' | 'asia-northeast1' | 'eastus' | 'eastus2' | 'westus3' | 'germanywestcentral' | 'centralus': Region in which the private endpoint is located
    - `remove` OrganizationPatchPrivateEndpoint[]: Elements to remove. Executed before "add" part is processed.
      - `id` string: Private endpoint identifier
      - `description` string: Optional description of private endpoint
      - `cloudProvider` 'gcp' | 'aws' | 'azure': Cloud provider in which the private endpoint is lcoated
      - `region` 'ap-northeast-1' | 'ap-northeast-2' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ca-central-1' | 'eu-central-1' | 'eu-west-1' | 'eu-west-2' | 'il-central-1' | 'us-east-1' | 'us-east-2' | 'us-west-2' | 'us-east1' | 'us-central1' | 'europe-west2' | 'europe-west4' | 'asia-southeast1' | 'asia-northeast1' | 'eastus' | 'eastus2' | 'westus3' | 'germanywestcentral' | 'centralus': Region in which the private endpoint is located
  - `enableCoreDumps` boolean: Whether crash reports (core dumps) collection is enabled for services in the organization. When disabled at the organization level, individual services cannot enable crash reports.
  - `isPciEnabled` boolean: Turns PCI compliance on or off for the organization. Sending the current value changes nothing. Turning it on requires the Enterprise tier. Turning it off is always allowed, and existing PCI services keep running.

## Response `200`

Successful response

- object
  - `status` number: HTTP status code.
  - `requestId` string, uuid: Unique id assigned to every request. UUIDv4
  - `result` Organization
    - `id` string, uuid: Unique organization ID.
    - `createdAt` string, date-time: The timestamp the organization was created. ISO-8601.
    - `name` string: Name of the organization.
    - `privateEndpoints` OrganizationPrivateEndpoint[]: List of private endpoints for organization
      - `id` string: Private endpoint identifier
      - `description` string: Description of private endpoint
      - `cloudProvider` 'gcp' | 'aws' | 'azure': Cloud provider in which the private endpoint is lcoated
      - `region` 'ap-northeast-1' | 'ap-northeast-2' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ca-central-1' | 'eu-central-1' | 'eu-west-1' | 'eu-west-2' | 'il-central-1' | 'us-east-1' | 'us-east-2' | 'us-west-2' | 'us-east1' | 'us-central1' | 'europe-west2' | 'europe-west4' | 'asia-southeast1' | 'asia-northeast1' | 'eastus' | 'eastus2' | 'westus3' | 'germanywestcentral' | 'centralus': Region in which the private endpoint is located
    - `byocConfig` ByocConfig[]: BYOC configuration for the organization
      - `id` string: Unique identifier of the BYOC configuration
      - `state` string: State of the infrastructure. Current values: 'infra-provisioning', 'infra-terminated', 'infra-terminating', 'infra-ready', 'infra-degraded', 'infra-upgrading', 'infra-awaiting-connector'. New states may be added; treat an unknown state as not ready
      - `accountId` string: Cloud account ID the BYOC infrastructure is bound to: AWS account ID, GCP project ID, or Azure subscription ID
      - `accountName` string: DEPRECATED. Use `accountId` instead. Cloud account ID the BYOC infrastructure is bound to
      - `regionId` 'ap-northeast-1' | 'ap-northeast-2' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ca-central-1' | 'eu-central-1' | 'eu-west-1' | 'eu-west-2' | 'il-central-1' | 'us-east-1' | 'us-east-2' | 'us-west-2' | 'us-east1' | 'us-central1' | 'europe-west2' | 'europe-west4' | 'asia-southeast1' | 'asia-northeast1' | 'eastus' | 'eastus2' | 'westus3' | 'germanywestcentral' | 'centralus': Region for which the BYOC has been configured and where it is possible to create services
      - `cloudProvider` 'gcp' | 'aws' | 'azure': Cloud provider of the region
      - `displayName` string: Human readable name for infrastructure
      - `accessModel` string: How ClickHouse reaches the infrastructure: `standard` through a management role in your account, or `restricted` through a connector you install in a cluster you own
    - `enableCoreDumps` boolean: Whether crash reports (core dumps) collection is enabled for services in the organization. When disabled at the organization level, individual services cannot enable crash reports.
    - `isPciEnabled` boolean: Whether PCI compliance is turned on for the organization. Creating a service with `complianceType` `pci` requires it, along with the Enterprise tier and a region that supports PCI.
    - `hipaaContractStatus` string: Status of the organization's HIPAA business associate agreement. Current values: 'not_requested', 'in_progress', 'signed'. New values may be added over time. Creating a service with `complianceType` `hipaa` requires `signed`. Read-only.
    - `capabilities` OrganizationCapabilities
      - `snapshots` boolean: Whether the organization is eligible to enable snapshots on its primary services.
    - `knowledgeBasedAiSupportEnabled` boolean: Whether knowledge-based AI support, which answers support questions with an AI model trained on public documentation, is turned on in the organization's settings. Read-only.
    - `aiDataUseForProductImprovementEnabled` boolean: Whether the organization's settings allow AI inputs, outputs and related metadata to be used for product improvement and support. Read-only.

## Other responses

- `400`: The request cannot be processed due to a client error. Please verify your request parameters and try again.
- `500`: An internal server error has occurred. If this issue persists, please contact ClickHouse Cloud support for assistance.

## Changes

- **2026-12-02** `dd7b68280285`: 3 info
  - added the new optional request property `isPciEnabled`
  - added the optional property `result/hipaaContractStatus` to the response with the `200` status
  - added the optional property `result/isPciEnabled` to the response with the `200` status
- **2026-11-20** `6c2218858de8`: 9 info
  - added the optional property `result/aiDataUseForProductImprovementEnabled` to the response with the `200` status
  - added the optional property `result/byocConfig/items/accessModel` to the response with the `200` status
  - added the optional property `result/knowledgeBasedAiSupportEnabled` to the response with the `200` status
  - removed the `infra-degraded` enum value from the `result/byocConfig/items/state` response property for the response status `200`
  - …5 more

[Operation history](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud/changes/v1/organizations/:organizationId/patch.md)

---

[API](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud.md) - [All operations](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud/llms.txt) - [OpenAPI document](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud/revisions/eac345053548?raw)
