config

ModifyIP config

Modify IP configuration

put/api/v1/config/ip

Request

  • Base URL
    http://demo.waterlinked.com
  • URL
    http://demo.waterlinked.com/api/v1/config/ip
  • Auth
    none declared

Request body

addressstring required

IP address to use

dhcpboolean required

DHCP to use

dnsstring required

DNS to use

gatewaystring required

Gateway to use

prefixinteger required

Prefix to use

Example request

{
  "address": "10.11.12.94",
  "dhcp": true,
  "dns": "10.11.12.1",
  "gateway": "10.11.12.1",
  "prefix": 24
}

Response

OK

errorstring

Error if it occurs

successboolean required

Status of operation

Example response

{
  "error": "something went wrong",
  "success": false
}

Changes

No recorded changes to this operation across all 3 revisions of this API.