Skip to content

Get IP blacklist

GET
/api/v1/admin/security/ip-blacklist
curl --request GET \
--url http://localhost:3001/api/v1/admin/security/ip-blacklist \
--header 'Authorization: <Authorization>'

Retrieve the list of blacklisted IP addresses. Requires admin:view_audit_logs permission.

active
boolean

Filter by active status (default: true)

limit
integer

Maximum number of entries to return (default: 100, max: 1000)

OK

Media typeapplication/json
object
entries
Array<object>
object
blocked_by
string
created_at
string
expires_at
string
hit_count
integer
id
integer
ip_address
string
last_hit_at
string
reason
string
success
boolean
total
integer
Examplegenerated
{
"entries": [
{
"blocked_by": "example",
"created_at": "example",
"expires_at": "example",
"hit_count": 1,
"id": 1,
"ip_address": "example",
"last_hit_at": "example",
"reason": "example"
}
],
"success": true,
"total": 1
}

Unauthorized

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Forbidden

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Internal Server Error

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}