You can call this operation to modify the O&M period of a MongoDB 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.

DBInstanceId String Yes dds-bpxxxxxxxx

The ID of the instance.

MaintainEndTime String Yes 02:00Z

The end time of the instance O&M period. The format is HH:mmZ.

Note The difference between the start time and end time must be one hour, For example, if MaintainStartTime is 01:00Z, MaintainEndTime must be 02:00Z.
MaintainStartTime String Yes 01:00Z

The start time of the instance O&M period. The format is HH:mmZ.

Response parameters

Prameter Type Sample response Description
RequestId String A9310426-C763-42A2-A3AD-70A8DA204531

The ID of the request.


Sample requests

http(s):// Action=ModifyDBInstanceMaintainTime
&<Common request parameter>

Sample success response

XML format


JSON format

    "RequestId": "A9310426-C763-42A2-A3AD-70A8DA204531"

Error codes

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