I tried to change the APIv2 settings using postman.
I changed the DHCP setting on the Edge from enabled to disabled and the configuration was successful.
The cURL at that time is below.
curl --location --request PATCH 'https://<vco>/api/sdwan/v2/enterprises/<enterprise-id>/edges/<edge-id>' \
--header 'Authorization: Token <token> \
--header 'Content-Type: application/json' \
--data-raw '[
{
"op": "replace",
"path": "/lan/networks/3/dhcp/enabled",
"value": "false"
}
]'