Help Center/
Document Database Service/
Developer Guide/
Managing Database Permissions/
User Management/
Deleting a User
Updated on 2022-09-21 GMT+08:00
Deleting a User
db.dropUser(username, writeConcern)
- username is the name of the user to be deleted from the database.
- writeConcern: The level of write concern for the removal operation. This parameter is optional.
Parent topic: User Management
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.