Save the white label and panel hostnames; accents must keep WCAG AA (BRANDING_CONTRAST)
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
PUT
/api/v1/tenants/{tid}/brandingSave the white label and panel hostnames; accents must keep WCAG AA (BRANDING_CONTRAST)
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
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
product_namestring optional- max length 60
accent_lightstring optional#rrggbb, WCAG AA on the light surfaces, or empty
accent_darkstring optional#rrggbb, WCAG AA on the dark surfaces, or empty
support_urlstring optionalhttps only
support_emailstring optionallogin_textstring optional- max length 1000
powered_byboolean optionalProvider only: show 'powered by' under branded panels
hostnamesarray<string> optional- max items 10
Example
{
"product_name": "string",
"accent_light": "string",
"accent_dark": "string",
"support_url": "string",
"support_email": "string",
"login_text": "string",
"powered_by": true,
"hostnames": [
"string"
]
}Responses
200 Saved
Content type: application/json
product_namestring requiredaccent_lightstring requiredaccent_darkstring requiredsupport_urlstring requiredsupport_emailstring requiredlogin_textstring requiredpowered_byboolean requiredupdated_atstring (date-time) optionalcustomboolean requiredinheritedboolean requiredis_rootboolean requiredlogo_urlstring requiredfavicon_urlstring requiredhostnamesarray<object> requiredhostnamestring requiredcertificatestring requiredAllowed values:"covered""not_covered""unknown"
Example
{
"product_name": "string",
"accent_light": "string",
"accent_dark": "string",
"support_url": "string",
"support_email": "string",
"login_text": "string",
"powered_by": true,
"updated_at": "2026-01-01T00:00:00Z",
"custom": true,
"inherited": true,
"is_root": true,
"logo_url": "string",
"favicon_url": "string",
"hostnames": [
{
"hostname": "string",
"certificate": "covered"
}
]
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required