delete https://app-api.geonode.com/api/configuration/active/whitelisted-ips
Removes up to 10 IP addresses per request.
Example Request:
curl -X DELETE "https://app-api.geonode.com/api/configuration/active/whitelisted-ips" \
--user "geonode_username:geonode_password" \
-H "Content-Type: application/json" \
-d '{"ips": [{"ip": "161.142.148.148"}, {"ip": "161.142.148.141"}]}'
Example Response (200 - Success):
{
"data": [
{
"ip": "161.142.148.141",
"description": "mac-m1",
"_id": "67a875f693afe58d40f2e93d"
},
{
"ip": "161.142.148.140",
"description": "mac-m1",
"_id": "67a89e27740e4ab9d8496d2b"
},
{
"ip": "161.142.148.145",
"description": "mac-m1",
"_id": "67a8a2655d6c6981185192e9"
},
{
"ip": "161.142.148.147",
"description": "mac-m1",
"_id": "67a8a2bf93afe58d40f2ef17"
}
],
"message": {
"title": "Updated",
"body": "Whitelisted IPs removed.",
"variant": "success"
}
}