Docs Home → MongoDB Command Line Interface
mongocli iam teams describe
On this page
Get a team in an organization.
Syntax
mongocli iam teams describe [options]
Options
Name | Type | Required | Description |
---|---|---|---|
-h, --help | false | help for describe | |
--id | string | false | Unique identification of the team. |
--name | string | false | Name of the team. |
--orgId | string | false | Organization ID to use. Overrides the settings in the configuration file or environment variable. |
-o, --output | string | false | Output format. Valid values are json, json-path, go-template, or go-template-file. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |
Examples
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>