How to delete a specific nested subdocument completely from an document

Hi again :wink:
the answer is driven from this post

find({
  "_id": ObjectId("605a62eadefa2a09797f1ae3")
},
{
  address: {
    "$elemMatch": {
      "$ne": [
        "_id",
        ObjectId("605a62f9defa2a09797f1ae5")
      ]
    }
  }
})

Sincerely,