mongocli atlas maintenanceWindows update
On this page
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of MongoCLI.
Update the maintenance window.
Syntax
mongocli atlas maintenanceWindows update [options]
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. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |