Endpoint
/api/v2/networksettings
dnsArraystring
DNS entries for the gateway. Note: If static_IP is false, IP address, subnet, gatewayIP, and dnsArray parameters are not required.
domainnamestring
Domain name for the gateway.
gatewaystring
Default gateway IP address. Note: If static_IP is false, IP address, subnet, gatewayIP, and dnsArray parameters are not required.
hostnamestring
Host name for the gateway.
interfacestring
Interface for the gateway.
ipaddrstring
Static IP (instead of DHCP). Note: If static_IP is false, IP address, subnet, gatewayIP, and dnsArray parameters are not required.
static_IPstring
If true, static IP is used instead of the (default) DHCP IP address. If false, IP address, subnet, gatewayIP, and dnsArray parameters are not required.
subnetstring
Subnet for the gateway. Note: If static_IP is false, IP address, subnet, gatewayIP, and dnsArray parameters are not required.
{
"dnsArray": "\u003cxxx,xxx\u003e",
"domainname": "\u003cdomainname\u003e",
"gateway": "\u003cDefault Gateway\u003e",
"hostname": "\u003chostname\u003e",
"interface": "\u003cinterface\u003e",
"ipaddr": "\u003cIP Address\u003e",
"static_IP": "\u003cTrue/False\u003e",
"subnet": "\u003csubnet\u003e"
}
Responses
OK
Successstring
{
"Success": "Successfully updated network configuration."
}