You can call this operation to modify the maintenance window of a specified ApsaraDB for PolarDB cluster. You can specify the time period to off-peak hours. Alibaba Cloud maintains your clusters within the specified maintenance window to minimize the impact on your business.


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
DBClusterId String Yes pc-xxxxxxxxxxxxxxxx

The ID of the cluster.

MaintainTime String Yes 02:00Z-03:00Z

The maintenance time of the cluster. It is in the HH:mmZ- HH:mmZ format. For example, 16:00Z-17:00Z indicates that the cluster can be maintained from 0 o'clock to 1 o'clock (UTC+8).

Note The maintenance time must start on the hour and last for an hour.
AccessKeyId String No key-test

The AccessKey ID provided to you by Alibaba Cloud.

Action String No ModifyDBClusterMaintainTime

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

Response parameters

Parameter Type Example Description
RequestId String 70656639-1416-479F-AF13-D08197F9C43B

The ID of the request.


Sample requests

http(s)://[Endpoint]/? Action=ModifyDBClusterMaintainTime
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

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