Replace the addresses never banned; bans they cover are lifted; audited
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
PUT
/api/v1/tenants/{tid}/security/ip-bans/allowReplace the addresses never banned; bans they cover are lifted; audited
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
X-CSRF-Token | header | string | optional | Required on unsafe requests authenticated by session cookie; API keys do not use it. |
Request body
required
Content type: application/json
object
- no other properties
entriesarray<object> required- max items 200
cidrstring requirednotestring optional
Example
{
"entries": [
{
"cidr": "string",
"note": "string"
}
]
}Responses
200 Entries, the administrators' recent addresses included
Content type: application/json
object
cidrstring requiredkindstring requiredAllowed values:"manual""admin"notestring requiredcreated_atstring (date-time) requiredexpires_atstring (date-time) | null required
Example
{
"items": [
{
"cidr": "string",
"kind": "manual",
"note": "string",
"created_at": "2026-01-01T00:00:00Z",
"expires_at": "2026-01-01T00:00:00Z"
}
]
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required