Whitelisting IP

Add whitelisted IPs

Add IPs to the whitelist. Management REST on app-api.geonode.com.

Auth

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

Request body

FieldTypeRequiredDescription
ipsarrayyesUp to 10 objects
ips[].ipstringyesIP to add
ips[].descriptionstringnoLabel

Response

HTTP 200 returns the full whitelist data array including the new entry (and a success message object may be present on write operations).

Was this page helpful?

On this page