Docs Menu
Docs Home
/ /
Atlas CLI
/ / /

atlas projects settings update

Updates settings for a project.

Public Preview: The atlas api sub-command, automatically generated from the MongoDB Atlas Admin API, offers full coverage of the Admin API and is currently in Public Preview (please provide feedback at https://feedback.mongodb.com/forums/930808-atlas-cli). Admin API capabilities have their own release lifecycle, which you can check via the provided API endpoint documentation link.

Command Syntax
atlas projects settings update [options]
Name
Type
Required
Description

--disableCollectDatabaseSpecificsStatistics

false

Flag that disables the Collect Database Specific Statistics project setting.

Mutually exclusive with --enableCollectDatabaseSpecificsStatistics.

--disableDataExplorer

false

Flag that disables the Data Explorer project setting.

Mutually exclusive with --enableDataExplorer.

--disableDataExplorerGenAIFeatures

false

Flag that disables the Data Explorer GenAI Features project setting.

Mutually exclusive with --enableDataExplorerGenAIFeatures.

--disableDataExplorerGenAISampleDocumentPassing

false

Flag that disables the Data Explorer GenAI Sample Document Passing project setting.

Mutually exclusive with --enableDataExplorerGenAISampleDocumentPassing.

--disablePerformanceAdvisor

false

Flag that disables the Performance Advisor project setting.

Mutually exclusive with --enablePerformanceAdvisor.

--disableRealtimePerformancePanel

false

Flag that disables the Real Time Performance Panel project setting.

Mutually exclusive with --enableRealtimePerformancePanel.

--disableSchemaAdvisor

false

Flag that disables the Schema Advisor project setting.

Mutually exclusive with --enableSchemaAdvisor.

--enableCollectDatabaseSpecificsStatistics

false

Flag that enables the Collect Database Specific Statistics project setting.

Mutually exclusive with --disableCollectDatabaseSpecificsStatistics.

--enableDataExplorer

false

Flag that enables the Data Explorer project setting.

Mutually exclusive with --disableDataExplorer.

--enableDataExplorerGenAIFeatures

false

Flag that enables the Data Explorer GenAI Features project setting.

Mutually exclusive with --disableDataExplorerGenAIFeatures.

--enableDataExplorerGenAISampleDocumentPassing

false

Flag that enables the Data Explorer GenAI Sample Document Passing project setting.

Mutually exclusive with --disableDataExplorerGenAISampleDocumentPassing.

--enablePerformanceAdvisor

false

Flag that enables the Performance Advisor project setting.

Mutually exclusive with --disablePerformanceAdvisor.

--enableRealtimePerformancePanel

false

Flag that enables the Real Time Performance Panel project setting.

Mutually exclusive with --disableRealtimePerformancePanel.

--enableSchemaAdvisor

false

Flag that enables the Schema Advisor project setting.

Mutually exclusive with --disableSchemaAdvisor.

-h, --help

false

help for update

-o, --output

string

false

Output format. Valid values are json, json-path, go-template, or go-template-file. To see the full output, use the -o json option.

--projectId

string

false

Hexadecimal string that identifies the project to use. This option overrides the settings in the configuration file or environment variable.

If the command succeeds, the CLI returns output similar to the following sample. Values in brackets represent your values.

Project settings updated.
# This example uses the profile named "myprofile" for accessing Atlas.
atlas projects settings update --disableCollectDatabaseSpecificsStatistics -P myprofile --projectId 5e2211c17a3e5a48f5497de3

Back

describe

On this page