Database

[{"tasks":[{"_id":1},{"_id":2}]}]

Query

db.collection.update({},{"$pull":{"tasks":{"_id":1}}})

Result