/config/net/ipv4/dhcp

Whether or not to use DHCP to automatically provision the IPv4 address. If true, DHCP is enabled. If false, the manually configured IPv4 settings are used.

Get /config/net/ipv4/dhcp

SecurityApiKey
Responses
200

Normal response.

401

Unauthorized response.

get/config/net/ipv4/dhcp
Request samples
Response samples
application/json
{
  • "result": true,
  • "error": "Error message (present if an error occurred)."
}

Replace /config/net/ipv4/dhcp

SecurityApiKey
Request
Request Body schema: application/json
boolean (configNetIpv4Dhcp)

Whether or not to use DHCP to automatically provision the IPv4 address. If true, DHCP is enabled. If false, the manually configured IPv4 settings are used.

Responses
200

Normal response.

401

Unauthorized response.

put/config/net/ipv4/dhcp
Request samples
application/json
true
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Update /config/net/ipv4/dhcp

SecurityApiKey
Request
Request Body schema: application/json
boolean (configNetIpv4Dhcp)

Whether or not to use DHCP to automatically provision the IPv4 address. If true, DHCP is enabled. If false, the manually configured IPv4 settings are used.

Responses
200

Normal response.

401

Unauthorized response.

post/config/net/ipv4/dhcp
Request samples
application/json
true
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Delete /config/net/ipv4/dhcp

Reset to true.

SecurityApiKey
Responses
200

Normal response.

401

Unauthorized response.

delete/config/net/ipv4/dhcp
Request samples
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}