API Patch call to update hardwaredriversettings

I am wanting to change httpSEnabled from no to yes on all my cameras. I can find the setting down in hardware/ID/hardwaredriversettings. i try to patch to that and it says “Message”: “The requested resource does not support http method ‘PATCH’.”

So I look back at the api reference sheet and should be able to patch to /hardware/{id}

I’m having trouble figuring out the body structure to patch this properly and keep on getting errors. My latest try is:

{

"array": \[

    {

        "displayName": "Settings",

        "hardwareDriverSettings": {

            "httpSEnabled": "yes",

        }

    }

\]

}

but get this response.

{

"error": {

    "httpCode": 404,

    "details": \[

        {

            "property": "array",

            "errorText": "Element group not found"

        }

    \]

}

}

Is this even possible?!

figured it out finally on my own, had to patch

https://(milestoneserver)/api/rest/v1/hardwaredriversettings/(CameraID)

with

{

“hardwareDriverSettings”:

{

    "httpSEnabled": "yes"

}

}

and that worked!