API referenceSections

Replace the list

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/admin-access

Replace the list. One that leaves out the caller's own address is refused (409 ADMIN_ACCESS_LOCKOUT) unless confirm_lockout; 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
  • cidrs array<string> required
    • max items 100
  • confirm_lockout boolean optional
Example
{
  "cidrs": [
    "string"
  ],
  "confirm_lockout": true
}

Responses

200 List

Content type: application/json

  • cidrs array<string> required

    Addresses or CIDR ranges provider administrators may work from; empty lets every address in (ADR 0065)

  • updated_at string (date-time) | null required
  • your_ip string required

    The caller's address as the panel sees it

Example
{
  "cidrs": [
    "string"
  ],
  "updated_at": "2026-01-01T00:00:00Z",
  "your_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