IP Penalties
IP Penalties
An IP penalty is an operator's temporary per-minute limit on one IP address. It applies to every endpoint, and is checked before all other rate limits. A limit of 0 refuses every request from that address. A refused request gets 429 OBP-10062.
Penalties are kept in Redis, so every instance applies them, and each one is removed when it expires, after at most one week. The penalty endpoints themselves are never refused, so a mistake can always be undone.
The Roles are system Roles: CanCreateIpPenalty, CanGetIpPenalties and CanDeleteIpPenalty. To find which addresses to limit, see here.
Endpoints
- Create IP Penalty:
POST /obp/v7.0.0/management/ip-penalties - Get IP Penalties:
GET /obp/v7.0.0/management/ip-penalties - Delete IP Penalty:
DELETE /obp/v7.0.0/management/ip-penalties/IP_ADDRESS