Skip to main content
PUT
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

PUT /tenant/branding Description: Updates the enabled toggle and/or the brand token set. When tokens is supplied, brandPrimary, brandAccent, and brandFont are all required; logo/logoMark are optional and merge onto the existing stored values when omitted (send null to clear either). logo/logoMark must be https:// URLs. Authorization:
  • Required role: admin or higher
Method: PUT

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Body

application/json

Provide at least one of enabled or tokens. Omitted logo/logoMark keys preserve the existing stored value.

enabled
boolean

Whether custom branding is applied to this tenant's workspace/emails.

tokens
object

All of brandPrimary/brandAccent/brandFont are required when tokens is supplied.

Response

Branding updated

status
string
Example:

"success"

message
string
Example:

"Branding updated successfully"

data
object