Docs Menu

Docs HomeMongoDB Command Line Interface

mongocli iam globalAccessLists describe

On this page

  • Syntax
  • Arguments
  • Options
  • Inherited Options
  • Examples

Return the details for the specified access list entry for your global API key.

mongocli iam globalAccessLists describe <ID> [options]
Name
Type
Required
Description
ID
string
true
Unique 24-digit string that identifies the access list entry.
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.
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.
# Return the JSON-formatted details for the access list entry with the ID 5f5bad7a57aef32b04ed0210 from the access list for the global API key:
mongocli iam globalAccessLists describe 5f5bad7a57aef32b04ed0210 --output json
←  mongocli iam globalAccessLists deletemongocli iam globalAccessLists list →
Share Feedback
© 2023 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2023 MongoDB, Inc.