cURL
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" } }
Updates the description of an existing whitelisted IP.
Basic authentication using username and password.
The IP address for which the description is being updated.
"161.142.148.150"
The new description for the whitelisted IP.
"updated-description"
Successfully updated whitelisted IPs.
A list of updated whitelisted IPs.
Show child attributes
Provides status details about the update operation.
Was this page helpful?