All Products
Search
Document Center

ApsaraDB for MongoDB:ModifyActiveOperationMaintenanceConfig

Last Updated:Dec 03, 2025

Modifies the Operations and Maintenance (O&M) task configuration for a MongoDB 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 parameters

Parameter

Type

Required

Description

Example

CycleType

string

No

The cycle type.

  • Month: monthly

  • Week: weekly

Week

CycleTime

string

No

The day of the cycle.

  • If CycleType is set to Month, enter a number from 1 to 28 to specify the day of the month. Use a comma (,) to separate multiple days.

  • If CycleType is set to Week, enter a number from 1 to 7 to specify the day of the week. Use a comma (,) to separate multiple days.

1,2,3

MaintainStartTime

string

No

The start time of the O&M window for the instance. The time is in the HH:mmZ format and is in UTC.

21:00Z

MaintainEndTime

string

No

The end time of the O&M window for the instance. The time is in the HH:mmZ format and is in UTC.

22:00Z

Status

integer

No

Specifies whether the configuration is enabled.

  • 1: enabled

  • 2: disabled

1

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

D8F1D721-6439-4257-A89C-F1E8E9C9****

Examples

Success response

JSON format

{
  "RequestId": "D8F1D721-6439-4257-A89C-F1E8E9C9****"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.