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