deletebyid mongoose code example Example: delete document mongose Model.deleteOne({ options }, function (err) {});