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
The IP address that was updated.
The updated description for the whitelisted IP.
"just update"
A unique identifier assigned to the whitelisted IP.
"67a0a5bbb412ddaf6f139b3b"
Provides status details about the update operation.
A short message indicating the status of the update.
"Updated"
A detailed message about the update operation.
"Whitelisted IPs updated."
The status variant indicating success or failure.
"success"
Was this page helpful?