Docs Menu

Docs HomeMongoDB Command Line Interface

mongocli iam teams create

On this page

  • Syntax
  • Options
  • Inherited Options

Create a team in an organization.

mongocli iam teams create <name> [options]
Name
Type
Required
Description
-h, --help
false
help for create
--orgId
string
false
Organization ID to use. Overrides configuration file or environment variable settings.
-o, --output
string
false
Output format. Valid values: json|json-path|go-template|go-template-file
--username
strings
true
List of usernames to add to the new team.
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.

Auto generated by MongoDB CLI on 29-Jun-2021

←  mongocli iam teamsmongocli iam teams delete →
Share Feedback