remove property mongodb

JavaScript
db.myCollection.update({}, {$unset: {fieldToRemove:1}} , {multi: true});
Source

Also in JavaScript: