config

ModifyWIFI config

Changed on

Modify WIFI configuration

put/api/v1/config/wifi

Request

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

Request body

mode'ap' | 'client' required

Which mode should the WiFi be in?

passwordstring required

Password to use for WiFi in Client mode

ssidstring required

WIFI SSID to use for WiFi in Client mode

Example request

{
  "mode": "ap",
  "password": "10.11.12.1",
  "ssid": "10.11.12.94"
}

Response

OK

errorstring

Error if it occurs

successboolean required

Status of operation

Example response

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

Changes