Update brand
update_brandPatch an existing brand's colors, typography, logo, or metadata by brandId. Requires baseRevision to prevent overwrite races and preserves unspecified tokens.
Instructions
Patch visual styles, typography, or metadata of an existing Brand by brandId. Call after get_brand to modify palette or fonts. Do NOT use to create new brands (use create_brand) or to delete (use delete_brand). Requires baseRevision for optimistic concurrency locking to prevent overwrite races; on revision mismatch returns 409 Conflict. Safe partial patch: unspecified styling tokens are preserved. Returns updated Brand with incremented revision.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Updated brand name. | |
| colors | No | Updated color palette tokens. | |
| handle | No | Updated social handle. | |
| brandId | Yes | The unique identifier of the brand to update. | |
| typography | No | Updated typography configuration. | |
| displayName | No | Updated display name. | |
| logoAssetId | No | Updated logo asset ID. | |
| baseRevision | Yes | Current revision number for optimistic concurrency lock. Must match latest revision from get_brand. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brandId | No | Brand ID. | |
| revision | No | Incremented revision number. |