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

FieldTypeDescription
dataarrayList of whitelisted IP addresses
data[].ipstringThe IP address of the whitelisted entity
data[].descriptionstringA brief description associated with the IP
data[]._idstringThe 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.

FieldTypeDescription
errorstringError message
{
  "error": "Invalid parameters provided."
}

401 Unauthorized

Invalid API credentials provided.

FieldTypeDescription
errorstringError message
{
  "error": "Unauthorized - Invalid API key or credentials."
}

500 Internal Server Error

An internal server error occurred.

On this page