Get the list of allowed IPs
Returns the list of allowed IPs
- Available on all panels
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Empty
Schema
- whitelist string[]
Possible values:
>= 7 characters
and<= 15 characters
Array of strings with allowed IPs
{
"whitelist": [
"192.168.0.1",
"192.168.1.1"
]
}
{
"401": {
"description": "Unauthorized request. Log In",
"content": {
"application/json": {
"schema": {
"type": "object",
"description": "Unauthorized request. Log In",
"required": [
"error"
],
"x-examples": {
"Example": {
"error": "Log In"
}
},
"properties": {
"error": {
"description": "error message",
"type": "string",
"example": "Log In"
}
}
},
"examples": {
"Log In": {
"value": {
"error": "Log In"
}
}
}
}
}
},
"whitelist": [
"127.0.0.1"
],
"Not empty": {
"value": {
"whitelist": [
"127.0.0.1",
"192.168.0.1",
"192.168.1.1"
]
}
}
}
Loading...