Docs Menu

Docs HomeMongoDB Command Line Interface

mongocli iam globalApiKeys delete

On this page

  • Syntax
  • Arguments
  • Options
  • Inherited Options
  • Examples

Remove the specified global API key from your Ops Manager instance.

mongocli iam globalApiKeys delete <ID> [options]
Name
Type
Required
Description
ID
string
true
Unique 24-digit string that identifies the global API key.
Name
Type
Required
Description
--force
false
Flag that indicates whether to skip the confirmation prompt before proceeding with the requested action.
-h, --help
false
help for delete
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.
# Remove the global API key with the ID 5f5bad7a57aef32b04ed0210 from your Ops Manager instance:
mongocli iam globalApiKeys delete 5f5bad7a57aef32b04ed0210
←  mongocli iam globalApiKeys createmongocli iam globalApiKeys describe →
Share Feedback
© 2023 MongoDB, Inc.

About

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