Change VLAN Settings

To change the VLAN description:
Use the PATCH method to change the configuration values for a specific VLAN in the openconfig-vlan data model.
Sample client request
PATCH /rest/restconf/data/openconfig-vlan:vlans/vlan=10/config/
    HTTP/1.1
    Host: 10.68.13.192
    Body:
    {
      "openconfig_vlan:config": {
      "name": "vlan_patch_example",
      "status": "ACTIVE",
      "tpid": "oc-vlan-types:TPID_0x8100",
      "vlan-id": 10
    }
}
Sample response from server
{
    "openconfig_vlan:config": {
    "name": "vlan_patch_example",
    "status": "ACTIVE",
    "tpid": "oc-vlan-types:TPID_0x8100",
    "vlan-id": 10
  }
}