mongocli atlas dbusers delete
On this page
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of MongoCLI.
Delete a database user for your project.
Syntax
mongocli atlas dbusers delete <username> [options]
Arguments
Name | Type | Required | Description |
---|---|---|---|
username | string | false | Username to delete from the MongoDB database. |
Options
Name | Type | Required | Description |
---|---|---|---|
--authDB | string | false | Authentication database name. (default "admin") |
--force | false | Don't ask for confirmation. | |
-h, --help | false | help for delete | |
--projectId | string | false | Project ID to use. Overrides configuration file or environment variable settings. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |