Retrieve Whitelisted IPs
Returns a list of active whitelisted IPs.
Retrieve all IP addresses currently on your whitelist.
Request
curl -X GET "https://app-api.geonode.com/api/configuration/active/whitelisted-ips" \
-H "Authorization: Basic base64(username:password)"Response
200 Success
Returns a list of all active whitelisted IP addresses.
Response Fields
| Field | Type | Description |
|---|---|---|
data | array | List of whitelisted IP addresses |
data[].ip | string | The IP address of the whitelisted entity |
data[].description | string | A brief description associated with the IP |
data[]._id | string | The unique identifier assigned to the IP entry |
Example Response
{
"data": [
{
"ip": "161.142.148.150",
"description": "updated-description",
"_id": "67a0a5bbb412ddaf6f139b3b"
}
]
}Error Responses
400 Bad Request
Invalid parameters provided.
| Field | Type | Description |
|---|---|---|
error | string | Error message |
{
"error": "Invalid parameters provided."
}401 Unauthorized
Invalid API credentials provided.
| Field | Type | Description |
|---|---|---|
error | string | Error message |
{
"error": "Unauthorized - Invalid API key or credentials."
}500 Internal Server Error
An internal server error occurred.