Britive platform release 2026.09.02 is now live in production.

Publish a single saved theme

Prev Next
Post
/api/themes/publish/{themeId}

Publishes one draft theme to the applied list by ID, leaving other applied themes untouched. Admin only.

Security
HTTP
Type bearer
Path parameters
themeId
stringRequired
Responses
200

Applied successfully — returns the now-applied 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.

403

Forbidden

404

No draft theme exists with the given ID