pymongo deleteone code example
Example: mongodb deleteOne
db.<collection>.deleteOne({name : "John" }) *delete one document with the name john*
db.<collection>.deleteOne({name : "John" }) *delete one document with the name john*