Appearance
Rule.io SDK / client/src / UpdateBrandStylePayload
Interface: UpdateBrandStylePayload
Defined in: client/src/resources/brand-styles/brand-styles.types.ts:259
Payload for BrandStylesClient.update (PATCH — all fields optional).
Only the fields you include are changed.
Example
typescript
await client.brandStyles.update(brandStyleId, {
name: 'Acme Brand v2',
colours: [{ type: 'accent', hex: '#003399', brightness: 30 }],
});Properties
colours?
optionalcolours?:BrandStyleColourEntry[] |null
Defined in: client/src/resources/brand-styles/brand-styles.types.ts:264
description?
optionaldescription?:string|null
Defined in: client/src/resources/brand-styles/brand-styles.types.ts:261
domain?
optionaldomain?:string|null
Defined in: client/src/resources/brand-styles/brand-styles.types.ts:262
fonts?
optionalfonts?:BrandStyleFontEntry[] |null
Defined in: client/src/resources/brand-styles/brand-styles.types.ts:266
images?
optionalimages?:BrandStyleImageEntry[] |null
Defined in: client/src/resources/brand-styles/brand-styles.types.ts:267
isDefault?
optionalisDefault?:boolean|null
Defined in: client/src/resources/brand-styles/brand-styles.types.ts:263
links?
optionallinks?:BrandStyleLinkEntry[] |null
Defined in: client/src/resources/brand-styles/brand-styles.types.ts:265
name?
optionalname?:string
Defined in: client/src/resources/brand-styles/brand-styles.types.ts:260