AI エージェント向け: ドキュメントインデックスは https://www.mongodb.com/ja-jp/docs/llms.txt で利用できます。すべてのページの markdown バージョンは、いずれかの URL パスに .md を追加することで利用できます。
Docs Menu

mongocli config rename

プロファイルの名前を変更します。

コマンド構文
mongocli config rename <oldProfileName> <newProfileName> [options]
名前
タイプ
必須
説明

oldProfileName

string

true

名前を変更するプロファイルの名前。

newProfileName

string

true

プロファイルの新しい名前。

名前
タイプ
必須
説明

-h, --help

false

名前変更のヘルプ

名前
タイプ
必須
説明

-P, --profile

string

false

構成ファイルから使用するプロファイルの名前。MongoCLI のプロファイルの詳細については、https://dochub.mongodb.org/core/atlas-cli-configuration-file. を参照してください。

# Rename a profile called myProfile to testProfile:
mongocli config rename myProfile testProfile