> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# brandKitFontFamilyRemove

> Remove a custom font family from the store's brand kit by id. A family that isn't there leaves the brand kit unchanged, so a repeat is safe. Fails with BAD_USER_INPUT (400) when the heading or body font uses the family; change `fonts` with `brandKitUpdate` first. Returns the brand kit after the change.

**Required scopes:** [`account_write`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-account_write)

## Arguments

**input** `[BrandKitFontFamilyRemoveInput!](/docs/api-reference/v3/reference/account/brand-kit-font-family-remove-input)` *required*

The family to remove.

**fields**

**id** `ID!` *required*

The id of the family to remove, from `customFontFamilies`.

## Returns

**brandKitFontFamilyRemove** `[BrandKit!](/docs/api-reference/v3/reference/account/brand-kit)` *required*

How the store's brand looks on the emails, portals and pages Redo sends in its name. These are the settings on the merchant app's Brand kit page, except the SMS contact card, which is edited there only.

**fields**

**buttons** `[BrandKitButtons!](/docs/api-reference/v3/reference/account/brand-kit-buttons)` *required*

The button styles.

**fields**

**primary** `[BrandKitButtonStyle!](/docs/api-reference/v3/reference/account/brand-kit-button-style)` *required*

The main call to action.

**fields**

**backgroundColor** `String`

The fill, as a hex color. Null when the element has none.

**border** `[BrandKitBorder!](/docs/api-reference/v3/reference/account/brand-kit-border)` *required*

The element's edge.

**fontReference** `[BrandKitFontReference!](/docs/api-reference/v3/reference/account/brand-kit-font-reference)` *required*

The text style the element takes its font size and weight from.

**paddingPx** `Float!` *required*

The space between the element's edge and its text, in pixels.

**textColor** `String!` *required*

The text color, as a hex color.

**secondary** `[BrandKitButtonStyle!](/docs/api-reference/v3/reference/account/brand-kit-button-style)` *required*

A supporting action.

**fields**

**backgroundColor** `String`

The fill, as a hex color. Null when the element has none.

**border** `[BrandKitBorder!](/docs/api-reference/v3/reference/account/brand-kit-border)` *required*

The element's edge.

**fontReference** `[BrandKitFontReference!](/docs/api-reference/v3/reference/account/brand-kit-font-reference)` *required*

The text style the element takes its font size and weight from.

**paddingPx** `Float!` *required*

The space between the element's edge and its text, in pixels.

**textColor** `String!` *required*

The text color, as a hex color.

**tertiary** `[BrandKitButtonStyle!](/docs/api-reference/v3/reference/account/brand-kit-button-style)` *required*

The least prominent action.

**fields**

**backgroundColor** `String`

The fill, as a hex color. Null when the element has none.

**border** `[BrandKitBorder!](/docs/api-reference/v3/reference/account/brand-kit-border)` *required*

The element's edge.

**fontReference** `[BrandKitFontReference!](/docs/api-reference/v3/reference/account/brand-kit-font-reference)` *required*

The text style the element takes its font size and weight from.

**paddingPx** `Float!` *required*

The space between the element's edge and its text, in pixels.

**textColor** `String!` *required*

The text color, as a hex color.

**colors** `[BrandKitColors!](/docs/api-reference/v3/reference/account/brand-kit-colors)` *required*

The brand's colors.

**fields**

**accent** `String!` *required*

The accent color, as a hex color.

**background** `String!` *required*

The background color, as a hex color.

**customFontFamilies** `[\[BrandKitCustomFontFamily!\]!](/docs/api-reference/v3/reference/account/brand-kit-custom-font-family)` *required*

The custom font families the store added, on the Brand kit page or with `brandKitFontFamiliesAdd`.

**fields**

**fallbackFont** `String!` *required*

The font a reader sees when the family can't load: an email-safe font or a generic one such as sans-serif.

**fontFamily** `String!` *required*

The family's name, which `fonts.headerFontFamily` and `fonts.bodyFontFamily` accept.

**id** `ID!` *required*

The family's id, to remove it with `brandKitFontFamilyRemove`.

**styles** `[\[BrandKitCustomFontStyle!\]!](/docs/api-reference/v3/reference/account/brand-kit-custom-font-style)` *required*

The family's styles, one per font file.

**fields**

**file** `[File!](/docs/api-reference/v3/reference/common/file)` *required*

The font file, hosted by Redo. Emails and portals load the style from its URL.

**fontName** `String!` *required*

The family name the font file declares.

**fontStyle** `String!` *required*

The style name the font file declares, such as Regular or Bold Italic.

**id** `ID!` *required*

The style's id.

**italic** `Boolean!` *required*

Whether the style is italic.

**weight** `String!` *required*

The CSS font weight: a number such as 400, or for a variable font the range it covers, such as 100 900.

**customerFacingDomain** `String`

The domain Redo's customer portals send shoppers to instead of the store's own, such as shop.example.com. Null when none is set, so the portals use the store's domain.

**faviconUrl** `String`

The store's favicon. Null when none is set.

**fonts** `[BrandKitFonts!](/docs/api-reference/v3/reference/account/brand-kit-fonts)` *required*

The brand's font families.

**fields**

**bodyFontFamily** `String!` *required*

The font family of body text.

**headerFontFamily** `String!` *required*

The font family of headings.

**inputStyle** `[BrandKitInputStyle!](/docs/api-reference/v3/reference/account/brand-kit-input-style)` *required*

The form input style.

**fields**

**backgroundColor** `String`

The fill, as a hex color. Null when the element has none.

**border** `[BrandKitBorder!](/docs/api-reference/v3/reference/account/brand-kit-border)` *required*

The element's edge.

**fields**

**cornerRadiusPx** `Float!` *required*

How rounded the corners are, in pixels.

**stroke** `[BrandKitBorderStroke!](/docs/api-reference/v3/reference/account/brand-kit-border-stroke)` *required*

The outline.

**errorColor** `String!` *required*

The color of an input's error state, as a hex color.

**fontReference** `[BrandKitFontReference!](/docs/api-reference/v3/reference/account/brand-kit-font-reference)` *required*

The text style the element takes its font size and weight from.

**paddingPx** `Float!` *required*

The space between the element's edge and its text, in pixels.

**textColor** `String!` *required*

The text color, as a hex color.

**logoUrl** `String`

The store's logo. Null when none is set.

**socialLinks** `[BrandKitSocialLinks!](/docs/api-reference/v3/reference/account/brand-kit-social-links)` *required*

The store's default social media links, which email templates' social blocks use unless a template sets its own.

**fields**

**appleUrl** `String`

The store's page on this platform. Null when none is set.

**discordUrl** `String`

The store's page on this platform. Null when none is set.

**facebookUrl** `String`

The store's page on this platform. Null when none is set.

**githubUrl** `String`

The store's page on this platform. Null when none is set.

**googleUrl** `String`

The store's page on this platform. Null when none is set.

**instagramUrl** `String`

The store's page on this platform. Null when none is set.

**linkedinUrl** `String`

The store's page on this platform. Null when none is set.

**pinterestUrl** `String`

The store's page on this platform. Null when none is set.

**redditUrl** `String`

The store's page on this platform. Null when none is set.

**snapchatUrl** `String`

The store's page on this platform. Null when none is set.

**tiktokUrl** `String`

The store's page on this platform. Null when none is set.

**twitterUrl** `String`

The store's page on this platform. Null when none is set.

**youtubeUrl** `String`

The store's page on this platform. Null when none is set.

## Example

```graphql theme={null}
mutation {
  brandKitFontFamilyRemove(input: { ... }) {
    customerFacingDomain
    faviconUrl
    logoUrl
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.