All Products
Search
Document Center

Hologres:UpdateMaintenanceWindow

Last Updated:May 21, 2026

Updates the maintenance window of a specified instance.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /api/v1/instances/{instanceId}/maintenanceWindow HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

instanceId

string

No

The ID of the instance.

xxx

Request parameters

Parameter

Type

Required

Description

Example

body

object

No

The request body.

startTime

string

No

The start time of the maintenance window, in UTC and HH:mm format.

00:00

endTime

string

No

The end time of the maintenance window, in UTC and HH:mm format.

02:00

Response elements

Element

Type

Description

Example

object

The response body.

RequestId

string

The request ID.

D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70

Data

boolean

A value of true indicates that the maintenance window was successfully updated.

true

Success

boolean

Indicates whether the request was successful. A value of false indicates that a server-side error occurred.

true

ErrorCode

string

The error code.

null

ErrorMessage

string

The error message.

null

HttpStatusCode

string

The HTTP status code.

200

Examples

Success response

JSON format

{
  "RequestId": "D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70",
  "Data": true,
  "Success": true,
  "ErrorCode": "null",
  "ErrorMessage": "null",
  "HttpStatusCode": "200"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.