Skip to content

Rule.io SDK


Rule.io SDK / client/src / UpdateBrandStylePayload

Interface: UpdateBrandStylePayload

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:280

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? ​

optional colours?: BrandStyleColourEntry[] | null

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:285


description? ​

optional description?: string | null

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:282


domain? ​

optional domain?: string | null

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:283


fonts? ​

optional fonts?: BrandStyleFontEntry[] | null

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:287


images? ​

optional images?: BrandStyleImageEntry[] | null

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:288


isDefault? ​

optional isDefault?: boolean | null

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:284


optional links?: BrandStyleLinkEntry[] | null

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:286


name? ​

optional name?: string

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:281