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
| Field | Type | Required | Description |
|---|---|---|---|
ips | array | yes | Up to 10 objects |
ips[].ip | string | yes | IP to add |
ips[].description | string | no | Label |
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?