You can call this operation to modify the backup policy of a MongoDB instance.


OpenAPI Explorer simplifies API usage. You can use OpenAPI Explorer to perform debugging operations, such as retrieve APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyBackupPolicy

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

DBInstanceId String Yes dds-bpxxxxxxxx

The ID of the instance.

PreferredBackupPeriod String Yes Monday,Wednesday,Friday,Sunday

The period of backup. Valid values:

  • Monday
  • Tuesday
  • Wednesday
  • Thursday
  • Friday
  • Saturday
  • Sunday
Note Separate multiple values with commas (,).
PreferredBackupTime String Yes 03:00Z-04:00Z

The period when the backup is performed. The format is HH:mmZ-HH:mmZ.

Note The maximum period is 1 hour.
AccessKeyId String No LTAIgbTGpxxxxxx

The AccessKey ID provided to you by Alibaba Cloud.

Response parameters

Parameter Type Example Description
RequestId String 644A359C-B871-4DD3-97B5-ED91EF5809C2

The ID of the request.


Sample requests

http(s):// Action=ModifyBackupPolicy
&<Common request parameters>

Successful response examples

XML format


JSON format


Error codes

View error codes