curl --request POST \
--url https://app-api.geonode.com/api/configuration/active/whitelisted-ips \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"ips": [
{
"ip": "161.142.148.140",
"description": "mac-m1"
}
]
}
'{
"data": [
{
"ip": "161.142.148.150",
"description": "updated-description",
"_id": "67a0a5bbb412ddaf6f139b3b"
}
],
"message": {
"title": "Updated",
"body": "Whitelisted IPs saved.",
"variant": "success"
}
}Adds up to 10 IP addresses per request.
curl --request POST \
--url https://app-api.geonode.com/api/configuration/active/whitelisted-ips \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"ips": [
{
"ip": "161.142.148.140",
"description": "mac-m1"
}
]
}
'{
"data": [
{
"ip": "161.142.148.150",
"description": "updated-description",
"_id": "67a0a5bbb412ddaf6f139b3b"
}
],
"message": {
"title": "Updated",
"body": "Whitelisted IPs saved.",
"variant": "success"
}
}Basic authentication using username:password.
Successfully added whitelisted IPs.
A list of successfully whitelisted IP addresses.
Details about the status of the whitelist update.
Was this page helpful?