PUT
Set the organization's brand (Enterprise)

Authorizations

Authorization
string
header
required

Authorization: Bearer twk_<prefix>_<secret>.

The prefix is public and safe to log: it is what identifies which credential leaked. The secret is never logged, never returned after creation, and stored only as a SHA-256 hash.

Body

application/json
product_name
string

Empty shows the deployment's name.

Maximum string length: 64
primary_color
string

Empty clears both colours.

Pattern: ^#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$
accent_color
string

Empty uses the primary.

Pattern: ^#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$
support_email
string<email>
support_url
string<uri>

An https address.

white_label
boolean

Removes every mention of the deployment's product.

Response

Saved.

entitled
boolean
required

The plan includes custom_branding.

default_product_name
string
required
product_name
string
required
primary_color
string
required
accent_color
string
required
support_email
string
required
support_url
string
required
white_label
boolean
required
logo_url
string
required
domain
object | null
required
contrast
object[]
required
effective
object
required