Docs Menu

Docs HomeMongoDB Command Line Interface

mongocli atlas maintenanceWindows update

On this page

  • Syntax
  • Options
  • Inherited Options

Update the maintenance window.

mongocli atlas maintenanceWindows update [options]
Name
Type
Required
Description
--dayOfWeek
int
false
Day of the week that you want the maintenance window to start, as a 1-based integer.
-h, --help
false
help for update
--hourOfDay
int
false
Hour of the day that you want the maintenance window to start. This parameter uses the 24-hour clock, where midnight is 0 and noon is 12.
-o, --output
string
false
Output format. Valid values: json|json-path|go-template|go-template-file
--projectId
string
false
Project ID to use. Overrides configuration file or environment variable settings.
--startASAP
false
Start maintenance immediately upon receiving this request.
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.
←  mongocli atlas maintenanceWindows describemongocli atlas metrics →
Share Feedback