Maintenance Windows¶
The maintenanceWindow
resource provides access to retrieve or
update the current Atlas project maintenance window. To learn more
about Maintenance Windows, see the
Set Preferred Cluster Maintenance Start Time setting on
the View/Modify Project Settings page.
Note
Atlas performs maintenance the same way as the manual maintenance procedure. This requires at least one replica set election during the maintenance window per replica set.
You can defer a scheduled maintenance event for a project up to two times. Deferred maintenance events occur during your preferred maintenance window exactly one week after the previously scheduled date and time.
Base URL: https://cloud.mongodb.com/api/atlas/v1.0
Endpoints¶
Method | Endpoint | Description |
---|---|---|
GET | Get the current user-defined maintenance window for the given
project. | |
PATCH | Update the current maintenance window for the given project. | |
POST | Defer the next scheduled maintenance for the given project for
one week. | |
POST | Defer any scheduled maintenance for the given project for one
week. | |
DELETE | Clear the current maintenance window for the given project. |