I am new in the MongoDB world and now I am struggling of how can I delete, update element in a nested array field of a document. Here is my sample document:
Solution for C# MongoDB Driver. You can set empty [] the nested array.
var filter = Builders.Filter.Where(mu => mu.Id == "my user id");
var update = Builders.Update.Set(mu => mu.Phones, new List());
_repository.Update(filter, update);