Docs Menu

Docs HomeMongoDB Command Line Interface

mongocli config delete

On this page

  • Syntax
  • Arguments
  • Options
  • Inherited Options
  • Examples

Delete a profile.

mongocli config delete <name> [options]
Name
Type
Required
Description
name
string
true
Name of the profile.
Name
Type
Required
Description
--force
false
If specified, skips asking for confirmation before proceeding with a requested action.
-h, --help
false
help for delete
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.
Delete the default profile configuration:
$ atlas config delete default
Skip the confirmation question and delete the default profile configuration:
$ atlas config delete default --force
←  mongocli configmongocli config describe →
Give Feedback
© 2022 MongoDB, Inc.

About

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