If you want to remove by the id you can use the following query:
db.collection.remove({"_id": ObjectId("5798ffcd60b2d8a4066b482d")});
You can remove using the same structure as a find. For example, you can remove all records that are larger than 10.
db.collection.remove({quantidade : {$gt :10}})