---
title: "Update organization preview feature"
method: PATCH
path: "/v1/organizations/{organizationId}/previews/{previewId}"
tags: ["Organization"]
---

# Update organization preview feature

`PATCH /v1/organizations/{organizationId}/previews/{previewId}`

## Request

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

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Switches a preview feature on or off for the organization. Use an ID returned by the list endpoint; an unknown ID returns 404. Only previews offered to the organization can be switched on, otherwise the request returns 403; switching off is always allowed.

## Path parameters

- `organizationId` string, uuid, required
- `previewId` string, required

## Request body

- PublicPreviewPatchRequest
  - `enabled` boolean, required: Whether the preview feature should be on.

## Response `200`

Successful response

- object
  - `status` number: HTTP status code.
  - `requestId` string, uuid: Unique id assigned to every request. UUIDv4
  - `result` PublicPreview
    - `id` string, required: Stable identifier of the preview feature.
    - `name` string, required: Name of the preview feature.
    - `description` string, required: What the preview feature does.
    - `docsUrl` string, required: Link to the documentation of the preview feature.
    - `enabled` boolean, required: Whether the preview feature is on for the organization.
    - `canToggle` boolean, required: Whether the caller may switch the preview feature on or off.

## 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-11-04** `5e14898dffd9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud/changes/v1/organizations/:organizationId/previews/:previewId/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)
