Open your terminal then open MongoDB
mongo
Navigate to your database
use myDbName;
Now run the following command and change the collection
keyword to collection name that you want to delete:
db.collection.remove(query, options)
To delete all documents, just pass an empty object as first argument to remove
method:
db.collection.remove({})
For list of options see MongoDB Manual