Docs Menu
Docs Home
/ /
MongoDB Command Line Interface
/ / /

mongocli cloud-manager featurePolicies update

On this page

  • Syntax
  • Options
  • Inherited Options
  • Examples

Update feature control policies for your project.

Feature Control Policies allow you to enable or disable certain MongoDB features based on your site-specific needs.

mongocli cloud-manager featurePolicies update [options]
Name
Type
Required
Description
-f, --file
string
false
File name to use, optional file with a json policy configuration.
-h, --help
false
help for update
--name
string
false
Identifying label for the external system that manages this Ops Manager Project.
-o, --output
string
false
Output format. Valid values are json, json-path, go-template, or go-template-file.
--policy
strings
false
List of policies that the external system applies to this Ops Manager Project.
--projectId
string
false
Project ID to use. Overrides the settings in the configuration file or environment variable.
--systemId
string
false
Unique identifier of the external system that manages this Ops Manager Project.
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.
Disable user management for a project:
$ mongocli ops-manager featurePolicies update --projectId <projectId> --name Operator --policy DISABLE_USER_MANAGEMENT
Update policies from a JSON configuration file:
$ mongocli atlas featurePolicies update --projectId <projectId> --file <path/to/file.json>

Back

list