mongocli iam organizations describe
On this page
This version of the documentation is archived and no longer supported. View the current documentation to learn how to update your version of the MongoDB CLI.
Return the details for the specified organizations.
To use this command, you must authenticate with a user account or an API key that has the Organization Member role.
Syntax
mongocli iam organizations describe <ID> [options]
Arguments
Name | Type | Required | Description |
---|---|---|---|
ID | string | true | Unique 24-digit string that identifies the organization. |
Options
Name | Type | Required | Description |
---|---|---|---|
-h, --help | false | help for describe | |
-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 | Human-readable label that identifies the profile to use from your configuration file. To learn about profiles for the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings. To learn about profiles for MongoCLI, see https://dochub.mongodb.org/core/atlas-cli-configuration-file. |
Examples
# Return the JSON-formatted details for the organization with the ID 5e2211c17a3e5a48f5497de3: mongocli organizations describe 5e2211c17a3e5a48f5497de3 --output json