Organization

Update organization preview feature

Changed on

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.

patch/v1/organizations/{organizationId}/previews/{previewId}

Request

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

Path parameters

organizationId, string uuid required

ID of the requested organization.

previewId, string required
Example:preview-id

ID of the requested preview feature.

Request body

PublicPreviewPatchRequest required
enabled, boolean required

Whether the preview feature should be on.

Response

Successful response

object required
status, number

HTTP status code.

requestId, string uuid

Unique id assigned to every request. UUIDv4

result, PublicPreview

Example response

{
  "status": 200,
  "result": {
    "id": "preview-id",
    "docsUrl": "https://clickhouse.com/docs"
  }
}

Changes