Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Compass
Created by Guest
Created on Mar 4, 2025

Command line option to delete connections

Please add a command line flag that allows deleting connections (by name or ID). Use case: We use SSO auth with time-limited role-based access to different deployed MongoDB Atlas environments. This is combined with a script that uses `--exportConnections` and `--importConnections` to ensure that the user has set of connections to each environment (and level) they currently have access to. However, without a `--deleteConnections` command, there is no way to remove connections that the user no longer has access to.
  • Attach files