Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

Get service upgrade window

GET/v1/organizations/{organizationId}/services/{serviceId}/upgradeWindow

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.

Authorizations

Path parameters

  • organizationIdstringrequired

    ID of the organization that owns the service.

    format: uuid
  • serviceIdstringrequired

    ID of the service.

    format: uuid

Response

JSON

200

Successful response

JSON
  • statusoptionalnumber

    HTTP status code.

    Example: 200
  • requestIdoptionalstring

    Unique id assigned to every request. UUIDv4

    format: uuid
  • resultoptionalobject
    3 properties
    • weekdayintegerrequired

      Day of the week the upgrade window starts. 0 = Sunday, 1 = Monday, …, 6 = Saturday.

      maximum: 6, minimum: 0
      Example: 3
    • startHourUtc0or6or12or18required

      UTC hour when the upgrade window starts. Must be one of 0, 6, 12, or 18.

      Example: 12
    • duration6required

      Length of the upgrade window in hours. Currently only a 6-hour window is supported.

      Example: 6
Navigation