command to delete a user in mongodb code example Example: mongodb delete user use admin db.dropUser('<username>')