Authorizations
Basic authentication using username and password.
Body
application/json
Response
Successfully updated whitelisted IPs.
The response is of type object
.
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.
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"
}
}
Basic authentication using username and password.
Successfully updated whitelisted IPs.
The response is of type object
.
Was this page helpful?