PUT
/
configuration
/
active
/
whitelisted-ips
curl -X PUT "https://app-api.geonode.com/api/configuration/active/whitelisted-ips" \
  -H "Authorization: Basic {{credentials}}" \
  -H "Content-Type: application/json" \
  -d '{"ip": "161.142.148.150", "description": "updated-description"}'
{
  "data": [
    {
      "ip": "161.142.148.150",
      "description": "just update",
      "_id": "67a0a5bbb412ddaf6f139b3b"
    }
  ],
  "message": {
    "title": "Updated",
    "body": "Whitelisted IPs updated.",
    "variant": "success"
  }
}

Authorizations

Authorization
string
header
required

Basic authentication using username and password.

Body

application/json
ip
string

The IP address for which the description is being updated.

Example:

"161.142.148.150"

description
string

The new description for the whitelisted IP.

Example:

"updated-description"

Response

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

A list of updated whitelisted IPs.

message
object

Provides status details about the update operation.