Britive platform release 2026.09.02 is now live in production.

Partially update a single theme

Prev Next
Patch
/api/themes/{themeId}

Partially updates a draft theme (seeded from applied if empty). Live list unaffected until published. Admin only.

Security
HTTP
Type bearer
Path parameters
themeId
stringRequired

ID of the theme to update.

Body parameters
object

Partial theme fields (name, isDefault, useBrandAssets, isDark, logo, values). Omit a key entirely to leave it unchanged.

Responses
200

Updated theme

Expand All
object
id
string

Unique theme ID, generated on creation.

name
string

Theme display name.

isDefault
boolean

Whether this is the tenant default theme.

Defaultfalse
useBrandAssets
boolean

When true, tenant branding (logo, favicon) is shown while this theme is active.

Defaulttrue
isDark
boolean

Whether this is a dark-mode theme.

Defaultfalse
logo
string

Which logo variant to display when this theme is active. 'default' follows the theme's isDark flag, 'Dark' always uses the dark logo, 'Light' always uses the light logo.

Valid values[ "default", "Dark", "Light" ]
Default"default"
values
object

CSS variable map (variable name → color value).

property*
string additionalProperties
isPublished
boolean

Whether this theme's content currently matches what's applied.

400

Validation error

403

Forbidden

404

Theme not found