Set service upgrade window
Creates or fully replaces the upgrade window for a service. The upgrade window currently lasts 6 hours from startHourUtc. The upgrade window can only be set on primary services; secondary services inherit the primary service window.
Errors:
- 400: invalid field values (
weekdaynot in 0–6,startHourUtcnot in ), or the service is a secondary service. - 401: missing, invalid, or disabled API key.
- 403: caller lacks
control-plane:service:manageon the service, or the organization does not have the scheduled upgrades feature enabled. - 404: service does not exist or is not visible to the caller.
PUT
Set service upgrade window
Creates or fully replaces the upgrade window for a service. The upgrade window currently lasts 6 hours from
startHourUtc. The upgrade window can only be set on primary services; secondary services inherit the primary service window.
Errors:
- 400: invalid field values (
weekdaynot in 0–6,startHourUtcnot in {0, 6, 12, 18}), or the service is a secondary service. - 401: missing, invalid, or disabled API key.
- 403: caller lacks
control-plane:service:manageon the service, or the organization does not have the scheduled upgrades feature enabled. - 404: service does not exist or is not visible to the caller.
Авторизации
Use key ID and key secret obtained in ClickHouse Cloud console: https://clickhouse.com/docs/cloud/manage/openapi
Параметры пути
Тело
application/json