DHCP Client

Configures, modifies, and retrieves DHCP client configuration. The URI to configure data for DHCP client is:

 /dhcp-client  

To modify DHCP client configuration using PATCH method:

/dhcp-client   

To delete DHCP client configuration in the system:

/dhcp-client   

Supported HTTP Operations

GET method

URL: https://<host>/restconf/data/dhcp-client
Request body: None
Response body: 
	{
   "icx-openconfig-dhcp-client:dhcp-client" : {
      "ve-id" : "default",
      "disable" : false
   }
}   

PUT method

URL: https://<host>/restconf/data/dhcp-client
Request body:
         {
   "icx-openconfig-dhcp-client:dhcp-client" : {
       "disable" : "false",
       "ve-id"   : "default"
   }
}
Response body: None    

PATCH method

URL: https://<host>/restconf/data/dhcp-client  
Request body:
{
   "icx-openconfig-dhcp-client:dhcp-client" : {
       "disable" : "false",
       "ve-id"   : "123"
   }
}
Response body: None    

DELETE

URL: https://<host>/restconf/data/dhcp-client
Request body: None    
Response body: None