Service

Get service upgrade window

Returns the configured upgrade window for a service.

Errors:

  • 401: missing, invalid, or disabled API key.
  • 403: caller lacks control-plane:service:view on the service.
  • 404: service does not exist, is not visible to the caller, or no upgrade window has been configured.
get/v1/organizations/{organizationId}/services/{serviceId}/upgradeWindow

Request

  • Base URL
    https://api.clickhouse.cloud
  • Auth
    HTTP basic

Path parameters

organizationId, string uuid required

ID of the organization that owns the service.

serviceId, string uuid required

ID of the service.

Response

Successful response

object required
status, number

HTTP status code.

requestId, string uuid

Unique id assigned to every request. UUIDv4

result, UpgradeWindow

Example response

{
  "status": 200,
  "result": {
    "weekday": 3,
    "startHourUtc": 12,
    "duration": 6
  }
}

Changes

No recorded changes to this operation across all 35 revisions of this API.