GetAuthBlocks¶
Returns currently active identity and IP authentication blocks ordered by latest blocked_until first.
GET
https://{some_domain}/mng/security/blocks
Authorization¶
Requires an authenticated staff session whose manager record has super_admin: 1.
Query Parameters¶
| Field | Type | Required | Description |
|---|---|---|---|
offset |
integer | No | Zero-based offset; default 0. Must be non-negative. |
limit |
integer | No | Page size; default 100, maximum 500. |
Success Response¶
{
"rows": [
{
"key": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
"stage": "password",
"principal": "account:123456",
"ip": "203.0.113.10",
"blocked_until": 1794000900,
"failures": 0,
"strikes": 1,
"ip_bucket": false
}
],
"offset": 0,
"limit": 100,
"total": 1
}
Each row includes a SHA-256 key used by reset, stage (password or otp), principal, ip (empty for identity-only rows), blocked_until (Unix seconds), failures, strikes, and ip_bucket (boolean). total counts active rows before pagination.
Errors¶
| HTTP | Error | Description |
|---|---|---|
| 400 | INVALID_DATA |
offset is negative/invalid or limit is outside 1..500. |
| 403 | PERMISSION_DENIED |
Caller is not a SuperAdmin. |
| 503 | SECURITY_GUARD_UNAVAILABLE |
Security block state is unavailable. |