Change ClickHouse Version
Changing the ClickHouse version of your cluster to stay up to date with the latest releases from ClickHouse.
Change the ClickHouse version on a cluster
Provide the API with a cluster slug and the ClickHouse version ID which you can get from the ClickHouse Section.
- Curl
- Python
curl -X 'PATCH' \
'https://api.gigapipe.com/v1/clusters/<your_cluster_slug>/clickhouse-version' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <your_access_token>' \
-H 'Content-Type: application/json' \
-d '{"id": 1}'
# Payload response ::Dictionary
{
"message": "Changing ClickHouse version in cluster <cluster-test>..."
}
response = gigapipe_client.clusters.change_clickhouse_version("cluster-test", id=1)
# Payload response ::Dictionary
{
"message": "Changing ClickHouse version in cluster <cluster-test>..."
}
Change ClickHouse version payload
Attributes
id ::Integer
The ID of the ClickHouse version you wish to use in this cluster. A list of the available versions and their IDs can be obtained from the ClickHouse section
Change ClickHouse version response
Attributes
message ::String
A basic response message