Set static network settings
Set static network settings and turn off DHCP
- application/json
Request Body required
- ip_address ipv4
ipv4 address of device
- mask ipv4
mask used by device
- gateway ipv4
gateway used by device
- dns ipv4
dns in ipv4 format used by device
- dhcp boolean
Is DHCP enabled
Responses
- 200
- 400
- 401
OK
- Wrong JSON body
- IP address is invalid
- application/json
- Schema
- Example (from schema)
- Based
- I P address is invalid
Schema
- error string
error type/info
{
"error": "Wrong JSON body"
}
{
"error": "Wrong JSON body"
}
{
"error": "IP address is invalid"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
error message
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...