AdminGate

PATCH /admin/gate-settings

Changed on

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Request body

allowed_hostsstring[] required
allowed_ipsstring[] required
trust_forwarded_forboolean required

Response

Updated admin gate config

allowed_hostsstring[] required

Host header values allowed. Empty = any host.

allowed_ipsstring[] required

IPs / CIDRs allowed to reach the admin listener. Empty = any source.

editableboolean required

True when the config is writable through this API. False when env vars are dictating the active config.

source'default' | 'db' | 'env' required

Where the active config came from.

trust_forwarded_forboolean required

When true, the gate trusts X-Forwarded-For from loopback peers.

Changes