delete all items from mongo db api code example
Example 1: mongodb remove all from collection
db.collection.remove({})
Example 2: delete all of something in mongo shell
Removes ALL: db..remove({})
Example: db.users.remove({id: 73465872012183})
db.collection.remove({})
Removes ALL: db..remove({})
Example: db.users.remove({id: 73465872012183})