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

mongocli config rename

On this page

  • Syntax
  • Options
  • Inherited Options

Rename a profile.

mongocli config rename <oldName> <newName> [options]
Name
Type
Required
Description
-h, --help
false
help for rename
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.

Auto generated by MongoDB CLI on 8-Jul-2021

Back

list