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.

التفويضات

Authorization
string
header
مطلوب

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

معلمات المسار

organizationId
string<uuid>
مطلوب

ID of the organization that owns the service.

serviceId
string<uuid>
مطلوب

ID of the service.

الجسم

application/json
entries
object[]
مطلوب

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

الاستجابة

Successful response

status
number

HTTP status code.

مثال:

200

requestId
string<uuid>

Unique id assigned to every request. UUIDv4

result
object
آخر تعديل في ١٢ أكتوبر ٢٠٢٦