Skip to main content
POST
Create or replace service autoscaling schedule
Creates or fully replaces the autoscaling schedule for a service. Pass an empty entries array to clear the schedule — a subsequent GET will return 404, and the response will contain an empty baseConfig (all fields absent). The base scaling config (applied when no entry is active) is managed separately via the replicaScaling endpoint. Requires the scheduled autoscaling feature to be enabled for the organization.

Permission

The API key must have the control-plane:service:manage-scaling-config permission.

Autorizaciones

Authorization
string
header
requerido

Use key ID and key secret obtained in ClickHouse Cloud console: https://clickhouse.com/docs/cloud/manage/openapi

Parámetros de ruta

organizationId
string<uuid>
requerido

ID of the organization that owns the service.

serviceId
string<uuid>
requerido

ID of the service.

Cuerpo

application/json
entries
object[]
requerido

List of schedule entries. Pass an empty array to clear the schedule.

Respuesta

Successful response

status
number

HTTP status code.

Ejemplo:

200

requestId
string<uuid>

Unique id assigned to every request. UUIDv4

result
object
Última modificación el 13 de octubre de 2026