Set the panel's public address after install; empty clears it
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
/api/v1/tenants/{tid}/panel-addressSet the panel's public address after install; empty clears it (ADR 0133)
https://host[:port] without a path (PUBLIC_URL_INVALID), not loopback (PUBLIC_URL_LOOPBACK); refused when the service was started with -public-url (PUBLIC_URL_FIXED). Takes effect at once: enrollment tokens, sign-in links and emails use it. Audited as panel.public_url.
Authentication: API key (Authorization: Bearer …) or session cookie __Host-panel_session.
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
- no other properties
public_urlstring required
Example
{
"public_url": "string"
}Responses
200 The address now
Content type: application/json
public_urlstring requiredEmpty when none is set
sourcestring requiredAllowed values:"flag""setting""none"
Example
{
"public_url": "string",
"source": "flag"
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required