Blocked IPs prevent reports from being processed when the request originates from specific IP addresses or ranges. If a report is created from one of your blocked IPs, it will automatically be canceled right away. This feature must be enabled for your account. Entries accept a single IPv4 or IPv6 address, or a range in CIDR notation. Ranges are capped in breadth - a prefix broader than /24 for IPv4 or /48 for IPv6 is rejected. Unlike blocked SSNs, blocked IPs are returned in plaintext rather than masked. Use this resource to manage the list of blocked IPs for your account.
Retrieve a paginated list of blocked IPs for your account. See Pagination.
List of blocked IPs
Unauthorized
Forbidden
{- "object": "list",
- "meta": {
- "page": 2,
- "per_page": 25,
- "total_count": 137,
- "total_pages": 6
}, - "data": [
- {
- "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
- "ip": "203.0.113.7",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}Add an IP address or CIDR range to the blocked list for your account. Reports created from a blocked IP will automatically be canceled right away.
required | object |
Blocked IP was created successfully
Bad Request
Unauthorized
Forbidden
Unprocessable Entity
{- "blocked_ip": {
- "ip": "203.0.113.7"
}
}{- "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
- "ip": "203.0.113.7",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Remove an IP address or range from the blocked list for your account.This won't impact any previously-canceled reports from that IP. It will allow processing of future reports created from that IP.
Blocked IP was deleted successfully
Unauthorized
Forbidden
Not Found
{- "errors": [
- "Not Authenticated"
]
}