Endpoint
/api/v2/networksettings
dnsArray
string

DNS entries for the gateway. Note: If static_IP is false, IP address, subnet, gatewayIP, and dnsArray parameters are not required.

domainname
string

Domain name for the gateway.

gateway
string

Default gateway IP address. Note: If static_IP is false, IP address, subnet, gatewayIP, and dnsArray parameters are not required.

hostname
string

Host name for the gateway.

interface
string

Interface for the gateway.

ipaddr
string

Static IP (instead of DHCP). Note: If static_IP is false, IP address, subnet, gatewayIP, and dnsArray parameters are not required.

static_IP
string

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.

subnet
string

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

Success
string

{
  "Success": "Successfully updated network configuration."
}