Set Wi-Fi static settings
Set Wi-Fi static settings and turn off dhcp
- application/json
Request Body required
- ip_address ipv4
Ip address of the device
- mask ipv4
MAske used by device
- gateway ipv4
Gateway used by device
- dns ipv4
DNS used by device
Responses
- 200
- 400
- 401
OK
- Wrong JSON body
- IP address is invalid
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
error object
Describes the base error user might get
code stringPossible values: [
invalid_authentication
,permission_denied
,not_valid
,system_error
]Error code
message stringError message
data object
Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc.
param stringDescribes the parameter that did not pass a validation
oneOf
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
Log In
Loading...