Whitelisting IP

Remove whitelisted IPs

Remove IPs from the whitelist. Management REST on app-api.geonode.com.

Auth

curl -u "<username>:<password>" \
  -H "Content-Type: application/json" \
  -X DELETE "https://app-api.geonode.com/api/configuration/active/whitelisted-ips" \
  -d '{"ips":[{"ip":"203.0.113.77"}]}'

Request body

FieldTypeRequired
ipsarrayyes
ips[].ipstringyes

Each item must be an object { "ip": "..." }. A bare string array like ["203.0.113.77"] returns HTTP 400.

Response

HTTP 200:

{
  "data": [
    {
      "ip": "203.0.113.10",
      "description": "office",
      "_id": "<entry_id>"
    }
  ],
  "message": {
    "title": "Updated",
    "body": "Whitelisted IPs removed.",
    "variant": "success"
  }
}

Was this page helpful?

On this page