mongocli iam teams describe
On this page
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of MongoCLI.
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 | 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 |
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>