API referenceSections

Lift IP bans for `zopanel-setup unban`

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

POST /api/v1/local/ip-unban

Lift IP bans for zopanel-setup unban (ADR 0066). Same rules as recovery-links: loopback, no proxy headers, the X-Zopanel-Recovery secret; anything else is 404

No authentication.

Parameters

NameInTypeRequiredDescription
X-Zopanel-Recoveryheaderstringrequired

Request body

required

Content type: application/json

object
  • no other properties
  • ip string optional
  • all boolean optional

    Lift every ban and forget every failure

Example
{
  "ip": "string",
  "all": true
}

Responses

200 How many addresses were lifted

Content type: application/json

object
  • lifted integer required
  • ip string optional
Example
{
  "lifted": 0,
  "ip": "string"
}

default Error

Content type: application/json

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