updateNetwork
Updates the network settings of the device.
Request
The API expects a POST request with the following parameters:
| Parameter | Type | Description |
|---|---|---|
hostname |
String |
The hostname of the device. |
ip |
IPAddress |
The ip address of the device. |
subnet |
IPAddress |
The subnet of the device. |
gateway |
IPAddress |
The gateway of the device. |
Response
Content-type: text/plain
The API responds with a text message indicating the result of the operation.
Example
Example Request
POST /updateNetwork
Content-Type: text/plain
hostname={hostname}&ip={ip}&gateway={gateway}&subnet={subnet}
Successful Response
Content-type: text/plain