Docs Menu
Docs Home
/ /
MongoDB 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 are json, json-path, go-template, or go-template-file.
--projectId
string
false
Project ID to use. Overrides the settings in the configuration file or environment variable.
--startASAP
false
Flag that, if specified, indicates to start maintenance immediately upon receiving this request.
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.

Back

describe