API referenceSections

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/allow

Replace the addresses never banned; bans they cover are lifted; audited

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
X-CSRF-Tokenheaderstringoptional

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
  • entries array<object> required
    • max items 200
    • cidr string required
    • note string optional
Example
{
  "entries": [
    {
      "cidr": "string",
      "note": "string"
    }
  ]
}

Responses

200 Entries, the administrators' recent addresses included

Content type: application/json

object
  • items array<IPAllow> required
    • cidr string required
    • kind string required
      Allowed values: "manual" "admin"
    • note string required
    • created_at string (date-time) required
    • expires_at string (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

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required