mongodb remove user by id code example Example: mongodb delete user use admin db.dropUser('<username>')