Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

Update ClickHouse settings

Beta
PATCH/v1/organizations/{organizationId}/services/{serviceId}/clickhouseSettings

Disclaimer: This beta endpoint is evolving; the API contract may change.

Updates one or more ClickHouse settings for the service. To reset a setting to its platform default, use the DELETE single setting endpoint. Use the schema endpoint to discover which settings are configurable.

Authorizations

Path parameters

  • organizationIdstringrequired

    ID of the organization that owns the service.

    format: uuid
  • serviceIdstringrequired

    ID of the service.

    format: uuid

Request bodyJSON

  • settingsstringrequired

    JSON object of setting names to values. Example: {"compatibility": "24.8"}

    Example: "{\"compatibility\": \"24.8\"}"

Response

JSON

200

Successful response

JSON
  • statusoptionalnumber

    HTTP status code.

    Example: 200
  • requestIdoptionalstring

    Unique id assigned to every request. UUIDv4

    format: uuid
  • resultoptionalobject
    2 properties
    • settingsoptionalstring

      JSON object of setting names to their applied values. Example: {"compatibility": "24.8"}

      Example: "{\"compatibility\": \"24.8\"}"
    • warningsoptionalarray ofobject

      Warnings for settings that may have disruptive effects.

      2 properties
      • nameoptionalstring

        Name of the setting the warning applies to.

        Example: "compatibility"
      • messageoptionalstring

        Warning message.

        Example: "Changing the compatibility version without comprehensive testing can cause query failures or instability."
Navigation