Upserts branding assets and metadata as a draft. Applied branding unaffected until POST /api/settings/branding/apply. Admin only.
JSON-serialised BrandingRequest.
Light logo (PNG or SVG, max 1.5 MB).
Dark logo (PNG or SVG, max 1.5 MB). Requires a light logo to be present.
Favicon (SVG, PNG, or ICO, max 1 MB).
Right-panel background image (PNG or SVG, max 2 MB).
Saved successfully — returns the saved branding record
Tenant brand/welcome text.
Whether the tenant's built-in themes are hidden.
Whether this is the currently applied (published) branding.
Whether the tenant default theme is dark mode. Derived from pab_tenant_theme; not stored on the branding record.
Cache-busting serve URL for the light logo. Null if not uploaded.
Cache-busting serve URL for the dark logo. Falls back to lightLogoUrl if no dark logo uploaded.
Cache-busting serve URL for the favicon. Null if not uploaded.
Tenant-wide right-side panel configuration, independent of any individual theme.
Panel mode — default, solid color, or custom image.
HEX color code. Required when type is SOLID_COLOR. Null/omitted otherwise.
Cache-busting serve URL for the panel image. Not mode-dependent (single image, unlike the logo). Null unless type is IMAGE.
Validation error
Forbidden