Upgrade a ClickHouse instance

Upgrade a ClickHouse instance to the next LTS version. We create a snapshot first and upgrade once it's done. The upgrade can't be undone, but you can restore that snapshot onto the instance.

POST https://{availability_zone}.betterstackcloud.com/v1/clickhouse/{id}/upgrade
id string required

The ID of the ClickHouse instance to upgrade.

Authorization string required

Bearer $TOKEN

Content-Type string

application/json

engine_version string required

The version to upgrade to, one of available_engine_versions.

202 Accepted
{
  "pre_upgrade_snapshot_id": "123456789"
}

Returns the ClickHouse instance.

pre_upgrade_snapshot_id string

The ID of the snapshot we created before the upgrade.