mongocli cloud-manager dbuser delete¶
dbuser delete command deletes a MongoDB database user
from the specified Cloud Manager clusters in the given project. You can also
delete a MongoDB database user through the Cloud Manager UI.
mongocli requests a confirmation from the user before sending the
delete command to Cloud Manager.
mongocli cloud-manager dbuser delete <username> [ --authDB ] [ --force ] [ --output|-o <output-format> ] [ --profile|-P <profile-name> ] [ --projectId <project-ID> ]
--help to view the command-line help for
Name of the authentication database for this user. Defaults to
Flag that indicates that the user can be deleted without requiring confirmation.
Username for authenticating the user to MongoDB.
dbuser delete command returns an in-progress status message
with a link to your Cloud Manager topology page.
The example below uses the
mongocli cloud-manager dbuser delete command to delete a MongoDB database user with the username
The command uses the default profile to access Cloud Manager.
mongocli cloud-manager dbuser delete user1