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

mongocli iam teams describe

On this page

  • Syntax
  • Options
  • Inherited Options
  • Examples

Get a team in an organization.

mongocli iam teams describe [options]
Name
Type
Required
Description
-h, --help
false
help for describe
--id
string
false
The ID of the team.
--name
string
false
Name of the team.
--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
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.
Describe a team by ID
$ mongocli iam team(s) describe --id teamId --orgId <orgId>
Describe a team by Name
$ mongocli iam team(s) describe --name teamName --orgId <orgId>

Back

delete