mongodb delete user from every table code example
Example 1: mongo delete all documents
db.bios.remove( { } )
Example 2: mongo remove all tables
mongo --quiet --eval 'db.getMongo().getDBNames().forEach(function(i){db.getSiblingDB(i).dropDatabase()})'