Skip to main content
PATCH
Update Brand Kit

Authorizations

x-api-key
string
header
required

HeyGen API key. Obtain from your HeyGen dashboard.

Path Parameters

brand_kit_id
string
required

Unique brand kit identifier

Body

application/json

Request body for PATCH /v3/brand-kits/{brand_kit_id}.

Every field is optional and omitting one leaves it unchanged. Sending a role object with no fields inside it ({}) clears that role, and a cleared role stays cleared — nothing recomputes over a role the caller has deliberately emptied.

Clearing is an empty object rather than null, and null is rejected outright, so each intention has exactly one spelling. Generated clients serialise request bodies with exclude_none and drop a null before sending, so honouring null as "clear" would clear the role for a caller using raw HTTP and silently do nothing for a caller using our own SDK.

name
string

New display name for the brand kit, 1-256 characters. Leading and trailing whitespace is trimmed.

Required string length: 1 - 256
color_roles
Color Roles · object

Which color plays which part, as hex values. Replaces the stored assignment in full: a role you omit from this object is cleared, so send the roles you want to keep. Send {} to clear every color role.

logo_roles
Logo Roles · object

Which logo is the brand's main one. Replaces the stored assignment in full, like color_roles, so omitting primary clears it. Send {} to clear the logo role.

font_roles
Font Roles · object

Which font plays which typographic part. Replaces the stored assignment in full, like color_roles.

Response

Successful response

data
BrandKitDetail · object

A single brand kit with its colors, logos and fonts.

A brand kit imported from a website is assembled in the background. While status is loading the collections and role fields are provisional and may be empty or incomplete; the import has finished contributing to them once status is completed. A kit whose import failed reports error and keeps whatever was assembled before the failure. A kit can still be edited in the HeyGen web app afterwards, so completed means the import is done, not that the kit is frozen.