Adds the given IP addresses to the whitelist
Adds the IP addresses from the white list
- Available on all panels
- application/json
Request Body required
- addresses string[]
Possible values:
>= 7 characters
and<= 15 characters
Array of strings with IPv4
Responses
- 200
- 400
- 401
OK
- Wrong parameter type
- Wrong IP address
- Required parameter is missed
- application/json
- Schema
- Example (from schema)
- Wrong parameter type
- Wrong I P address
- Missed parameter
Schema
- error string
error type/info
{
"error": "Wrong JSON body"
}
{
"error": "Wrong parameter type"
}
{
"error": "Wrong IP address (192.168.1.80 is on the ban list)"
}
{
"error": "Missed parameter"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
error message
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...