In case some is struggling with $pull operator my problem was that I forgot to add the nested array inside the schema, so Mongoose can't recognize it and delete it.