how to remove document in mongodb code example Example 1: mongo delete all documents Click to copydb.bios.remove( { } ) Example 2: delete collection mongodb Click to copydb.collection.drop()