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

  • settingsmap ofServiceClickhouseSettingValuerequired

    Nonempty object mapping configurable setting names to their values. Use DELETE to reset a setting.

    Example: {"compatibility":"26.2","max_query_size":262144}

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
    • settingsoptionalmap ofServiceClickhouseSettingValue

      Nonempty object mapping configurable setting names to their values. Use DELETE to reset a setting.

      Example: {"compatibility":"26.2","max_query_size":262144}
    • 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