Changes the maintenance window of a PolarDB-X instance.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyDBInstanceMaintainTime

The operation that you want to perform. Set the value to ModifyDBInstanceMaintainTime.

RegionId String Yes cn-hangzhou

The region ID of the instance.

DBInstanceName String Yes pxc-htri0ori2r4k9p

The name of the instance.

MaintainTime String Yes 19:00Z-20:00Z

The maintenance window of the instance.

ClientToken String No 73559800-3c8c-11ec-bd40-99cfcff3fe1e

The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests.

Response parameters

Parameter Type Example Description
RequestId String 73559800-3c8c-11ec-bd40-99cfcff3fe1e

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

  "RequestId" : "73559800-3c8c-11ec-bd40-99cfcff3fe1e"

Error codes

For a list of error codes, visit the API Error Center.