DELETE
/
configuration
/
active
/
whitelisted-ips
curl -X DELETE "https://app-api.geonode.com/api/configuration/active/whitelisted-ips" \
-H "Authorization: Basic {{credentials}}" \
-H "Content-Type: application/json" \
-d '{"ips": [{"ip": "161.142.148.148"}, {"ip": "161.142.148.141"}]}'
{
  "data": [
    {
      "ip": "161.142.148.141",
      "description": "mac-m1",
      "_id": "67a875f693afe58d40f2e93d"
    }
  ],
  "message": {
    "title": "Updated",
    "body": "Whitelisted IPs removed.",
    "variant": "success"
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
A JSON object containing a list of IP addresses to be removed. Only the highest 10 IPs can be removed at a time.
ips
object[]

List of IP objects to remove.

Response

200
application/json
Successfully removed whitelisted IPs.
data
object[]

A list of whitelisted IPs that have been removed.

message
object

Provides status details about the removal operation.