Unset the entire array from documnet

Hello

I am having the requirement to unset the entire component array from the document. The sample document is as below.

 document d {
    "aNo": 12345,
    "id": "myid_12345",
    "Bundles": [
          {
            "adate": "2021-03-14T21:25:50Z",
            "inDt": "2021-08-13T12:46:00Z",
            "oId": 20002121,
            "pstatus": 0,
            "components": [
              {
                "aDt": "2019-06-29T16:00:00Z",
                "cvalue": {
                  "duInter": "internal"
                },
                "coId": 123456,
                "coInstId": 87878787,
                "coInstIdServ": 3,
                "coStatus": 0,
                "connectReason": 1,
                "externalId": "98989898",
                "inactiveDt": "2021-08-13T12:46:00Z",
                "offerId": 2021,
                "paId": 2121,
                "paInstId": 12356,
                "paInstIdServ": 3,
                "InstId": 646796,
                "sNo": 2344,
                "Sresets": 0
              }
            ],
            "InstId": 56027562
          },
          {
            "aDt": "2021-03-14T21:25:50Z",
            "vDt": "2021-08-13T12:46:00Z",
            "oid": 212121,
            "paStatus": 0,
            "components": [
              {
                "aDt": "2019-06-29T16:00:00Z",
                "cValue": {
                  "duInter": "internal"
                },
                "coId": 898797,
                "coInstId": 54545454,
                "coInstIdServ": 3,
                "coStatus": 0,
                "connectReason": 1,
                "externalId": "121216",
                "inactiveDt": "2021-08-13T12:46:00Z",
                "offerId": 2021,
                "paId": 2121,
                "paInstId": 12356,
                "paInstIdServ": 3,
                "InstId": 7,
                "sNo": 2344,
                "Sresets": 0
              }
            ],

Please help me to form the update query.

Regards
Dhaval.

UPDATE default AS d
UNSET b.components FOR b IN d.Bundles END
WHERE ....