/v1/organizations/{organizationId}/services/{serviceId}Updates basic service details like service name or IP access list.
Authorizations
- AuthorizationstringheaderrequiredUse key ID and key secret obtained in ClickHouse Cloud console: https://clickhouse.com/docs/cloud/manage/openapi
Path parameters
Request bodyJSON
- releaseChanneloptionalslowordefaultorfast
Select fast if you want to get new ClickHouse releases as soon as they are available. You'll get new features faster, but with a higher risk of bugs. Select slow if you would like to defer releases to give yourself more time to test. This feature is only available for production services. default is the regular release channel.
Response
200
Successful response
- resultoptionalobject{ … }
40 properties
- autoscalingModeverticalorhorizontalrequired
Configured autoscaling mode. "vertical" runs a fixed replica count while memory scales between minReplicaMemoryGb and maxReplicaMemoryGb; "horizontal" scales the replica count between minReplicas and maxReplicas at a fixed per-replica memory. This is the baseline configuration; the mode currently applied (which may differ while a schedule entry is active) is currentScaling.effectiveAutoscalingMode.
Example: "vertical" - currentScalingobject{ … }required
8 properties
- effectiveMaxReplicaMemoryGboptionalnumber
Maximum memory per replica (Gb) currently applied to the running service. May diverge from the top-level
maxReplicaMemoryGbbaseline while a schedule entry is active. Reflects the stored value: normally equal toeffectiveMinReplicaMemoryGbin horizontal mode, but a legacy service stored with an unequal memory range reports the stored bounds as-is. - effectiveMinReplicasoptionalinteger
Minimum number of replicas currently applied to the running service. May diverge from the baseline while a schedule entry is active. Reflects the stored value: normally equal to
effectiveMaxReplicasin vertical mode (a fixed replica count), but a legacy service stored with an unequal replica range reports the stored bounds as-is.
- tierdeprecateddevelopmentorproductionordedicated_high_memordedicated_high_cpuordedicated_standardordedicated_standard_n2d_standard_4+5 more
DEPRECATED for BASIC, SCALE and ENTERPRISE organization tiers. Use
minReplicaMemoryGb,maxReplicaMemoryGb, andnumReplicasinstead. Tier of the service: 'development', 'production', 'dedicated_high_mem', 'dedicated_high_cpu', 'dedicated_standard', 'dedicated_standard_n2d_standard_4', 'dedicated_standard_n2d_standard_8', 'dedicated_standard_n2d_standard_32', 'dedicated_standard_n2d_standard_128', 'dedicated_standard_n2d_standard_32_16SSD', 'dedicated_standard_n2d_standard_64_24SSD'. Production services scale, Development are fixed size. Azure services don't support Development tier - minTotalMemoryGbdeprecatednumber
DEPRECATED - inaccurate for services with non-default numbers of replicas. Use
minReplicaMemoryGbinstead. Minimum memory of three workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and greater than or equal to 24. Always absent for horizontal-autoscaling services (replica count is variable).maximum: 1068, minimum: 24Example: 48 - maxTotalMemoryGbdeprecatednumber
DEPRECATED - inaccurate for services with non-default numbers of replicas. Use
maxReplicaMemoryGbinstead. Maximum memory of three workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and lower than or equal to 360 for non paid services or 1068 for paid services. Always absent for horizontal-autoscaling services (replica count is variable).maximum: 1068, minimum: 24Example: 360 - minReplicaMemoryGboptionalnumber
Minimum total memory of each replica during auto-scaling in Gb. A range in vertical autoscaling; equal to maxReplicaMemoryGb in horizontal (memory is fixed while the replica count scales). Must be a multiple of 4 and greater than or equal to 8.
maximum: 356, minimum: 8Example: 16 - maxReplicaMemoryGboptionalnumber
Maximum total memory of each replica during auto-scaling in Gb. A range in vertical autoscaling; equal to minReplicaMemoryGb in horizontal (memory is fixed while the replica count scales). Must be a multiple of 4 and lower than or equal to 120* for non paid services or 356* for paid services.* - maximum replica size subject to cloud provider hardware availability in your selected region.
maximum: 356, minimum: 8Example: 120 - numReplicasoptionalinteger
Number of replicas for the service. The number of replicas must be between 2 and 20 for the first service in a warehouse. Services that are created in an existing warehouse can have a number of replicas as low as 1. Further restrictions may apply based on your organization's tier. It defaults to 1 for the BASIC tier and 3 for the SCALE and ENTERPRISE tiers. Present only when the service uses vertical autoscaling. For horizontal autoscaling, use minReplicas and maxReplicas instead.
maximum: 20, minimum: 1Example: 3 - releaseChanneloptionalslowordefaultorfast
Select fast if you want to get new ClickHouse releases as soon as they are available. You'll get new features faster, but with a higher risk of bugs. Select slow if you would like to defer releases to give yourself more time to test. This feature is only available for production services. default is the regular release channel.
- profileoptionalstring
Custom instance profile. Only available for ENTERPRISE and BYOC organization tiers. Standard values: 'v1-default', 'v1-highmem-xs', 'v1-highmem-s', 'v1-highmem-m', 'v1-highmem-l', 'v1-highmem-xl'. BYOC services may instead use a dynamic BYOC profile configured for their infrastructure (e.g. 'v1-standard-byoc-4'); it requires byocId, and minReplicaMemoryGb and maxReplicaMemoryGb must both equal the profile's memory size. Use the serviceProfiles endpoint to list the profiles available to the organization.
400
The request cannot be processed due to a client error. Please verify your request parameters and try again.
500
An internal server error has occurred. If this issue persists, please contact ClickHouse Cloud support for assistance.