put https://app-api.geonode.com/api/configuration/active/whitelisted-ips
Updates the description of an existing whitelisted IP.
Example Request:
curl -X PUT "https://app-api.geonode.com/api/configuration/active/whitelisted-ips" \
--user "geonode_username:geonode_password" \
-H "Content-Type: application/json" \
-d '{"ip": "161.142.148.150", "description": "updated-description"}'
Example Response (200 - Success):
{
"data": [
{
"ip": "161.142.148.150",
"description": "just update",
"_id": "67a0a5bbb412ddaf6f139b3b"
},
{
"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 updated.",
"variant": "success"
}
}