Docs Menu
Docs Home
/ /
MongoDB Command Line Interface
/ /

mongocli config delete

On this page

  • Syntax
  • Options
  • Inherited Options
  • Examples

Delete a profile.

mongocli config delete <name> [options]
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

Back

config