mongo cli command to clear collection code example
Example 1: mongodb remove all from collection
db.collection.remove({})
Example 2: delete all of something in mongo shell
Removes ALL: db.<collectionName>.remove({})
Example: db.users.remove({id: 73465872012183})