API referenceSections

Upload the logo or favicon (PNG re-encoded; SVG refused when it has anything active), at most 256 KB

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

PUT /api/v1/tenants/{tid}/branding/assets/{kind}

Upload the logo or favicon (PNG re-encoded; SVG refused when it has anything active), at most 256 KB

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
kindpathstringrequired
Allowed values: "logo" "favicon"
X-CSRF-Tokenheaderstringoptional

Required on unsafe requests authenticated by session cookie; API keys do not use it.

Request body

required

Content types: image/png, image/svg+xml

image/png

string (binary)

image/svg+xml

string

Responses

200 Saved

Content type: application/json

  • product_name string required
  • accent_light string required
  • accent_dark string required
  • support_url string required
  • support_email string required
  • login_text string required
  • powered_by boolean required
  • updated_at string (date-time) optional
  • custom boolean required
  • inherited boolean required
  • is_root boolean required
  • logo_url string required
  • favicon_url string required
  • hostnames array<object> required
    • hostname string required
    • certificate string required
      Allowed 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

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