curl --request POST \
--url https://app.aegister.com/api/v1/cloud-defender/{id}/ip-rules \
--header 'Content-Type: application/json' \
--header 'X-Aegister-Token: <api-key>' \
--data '
{
"net": "203.0.113.7",
"action": "block",
"reason": "Scanning our login page",
"hours": 720
}
'{
"error": 0,
"messages": [],
"data": {
"id": 41,
"net": "203.0.113.7",
"action": "block",
"source": "manual",
"reason": "Scanning our login page",
"expires_at": "2026-11-27T09:30:00Z",
"created_at": "2026-10-28T09:30:00Z",
"created_by": "00000000-0000-4000-8000-000000000000",
"event_id": null,
"created": true
}
}{
"error": 1,
"messages": [
"Invalid data provided",
"net_invalid",
"net_private",
"net_cloudflare",
"net_known_good",
"net_listed"
]
}{
"error": 1,
"messages": []
}{
"error": 1,
"messages": []
}Protection lists
Block or always allow an address on Cloud Defender
Add an address or a CIDR range to a domain’s lists. action: block bans it, for hours (1 to 2160) or until you remove it; action: allow puts it on the Whitelist, so it skips the banned list and Threat Intelligence. Cloud Defender applies the change within about two minutes. Private addresses, Cloudflare’s network and Google’s own services are refused with a 400 and a reason code. Owners and security officers with a live licence.
POST
/
api
/
v1
/
cloud-defender
/
{id}
/
ip-rules
curl --request POST \
--url https://app.aegister.com/api/v1/cloud-defender/{id}/ip-rules \
--header 'Content-Type: application/json' \
--header 'X-Aegister-Token: <api-key>' \
--data '
{
"net": "203.0.113.7",
"action": "block",
"reason": "Scanning our login page",
"hours": 720
}
'{
"error": 0,
"messages": [],
"data": {
"id": 41,
"net": "203.0.113.7",
"action": "block",
"source": "manual",
"reason": "Scanning our login page",
"expires_at": "2026-11-27T09:30:00Z",
"created_at": "2026-10-28T09:30:00Z",
"created_by": "00000000-0000-4000-8000-000000000000",
"event_id": null,
"created": true
}
}{
"error": 1,
"messages": [
"Invalid data provided",
"net_invalid",
"net_private",
"net_cloudflare",
"net_known_good",
"net_listed"
]
}{
"error": 1,
"messages": []
}{
"error": 1,
"messages": []
}Authorizations
Path Parameters
Body
application/json

