---
title: "Update Brand Email Default"
description: "How to call Update Brand Email Default (PATCH /api/brand-email-defaults/{id}) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/reference/update_brand_email_default"
revision: "2026-10-15"
operationId: "update_brand_email_default"
method: "PATCH"
endpoint: "https://a.klaviyo.com/api/brand-email-defaults/{id}"
authentication: "privateKey"
scopes: ["brands:write"]
rateLimits: {"burst":"3/s","steady":"60/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
openApi: "https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json"
jsonApi: {"fields":{"brand-email-default":["body","body.background_color","body.body_background_color","body.h1_text","body.h1_text.color","body.h1_text.font_family","body.h1_text.font_size","body.h1_text.font_style","body.h1_text.font_weight","body.h1_text.letter_spacing","body.h1_text.text_decoration","body.h2_text","body.h2_text.color","body.h2_text.font_family","body.h2_text.font_size","body.h2_text.font_style","body.h2_text.font_weight","body.h2_text.letter_spacing","body.h2_text.text_decoration","body.h3_text","body.h3_text.color","body.h3_text.font_family","body.h3_text.font_size","body.h3_text.font_style","body.h3_text.font_weight","body.h3_text.letter_spacing","body.h3_text.text_decoration","body.h4_text","body.h4_text.color","body.h4_text.font_family","body.h4_text.font_size","body.h4_text.font_style","body.h4_text.font_weight","body.h4_text.letter_spacing","body.h4_text.text_decoration","body.link_text","body.link_text.color","body.link_text.font_family","body.link_text.font_size","body.link_text.font_style","body.link_text.font_weight","body.link_text.letter_spacing","body.link_text.text_decoration","body.text","body.text.color","body.text.font_family","body.text.font_size","body.text.font_style","body.text.font_weight","body.text.letter_spacing","body.text.text_decoration","footer","footer.background_color","footer.link_text","footer.link_text.color","footer.link_text.font_family","footer.link_text.font_size","footer.link_text.font_style","footer.link_text.font_weight","footer.link_text.letter_spacing","footer.link_text.text_decoration","footer.social_group_color","footer.text","footer.text.color","footer.text.font_family","footer.text.font_size","footer.text.font_style","footer.text.font_weight","footer.text.letter_spacing","footer.text.text_decoration","header","header.background_color","header.link_text","header.link_text.color","header.link_text.font_family","header.link_text.font_size","header.link_text.font_style","header.link_text.font_weight","header.link_text.letter_spacing","header.link_text.text_decoration","header.links","header.logo_max_width","id"]}}
related: ["https://developers.klaviyo.com/en/reference/brands/llms.txt","https://developers.klaviyo.com/en/reference/get_brand_logos.md","https://developers.klaviyo.com/en/reference/get_brand_logo.md","https://developers.klaviyo.com/en/reference/create_brand_logo.md","https://developers.klaviyo.com/en/reference/update_brand_logo.md","https://developers.klaviyo.com/en/reference/delete_brand_logo.md","https://developers.klaviyo.com/en/reference/get_brand_buttons.md","https://developers.klaviyo.com/en/reference/get_brand_button.md","https://developers.klaviyo.com/en/reference/create_brand_button.md","https://developers.klaviyo.com/en/reference/update_brand_button.md","https://developers.klaviyo.com/en/reference/delete_brand_button.md","https://developers.klaviyo.com/en/reference/get_brand_colors.md","https://developers.klaviyo.com/en/reference/get_brand_color.md","https://developers.klaviyo.com/en/reference/create_brand_color.md","https://developers.klaviyo.com/en/reference/update_brand_color.md","https://developers.klaviyo.com/en/reference/delete_brand_color.md","https://developers.klaviyo.com/en/reference/get_brand_voice.md","https://developers.klaviyo.com/en/reference/update_brand_voice.md","https://developers.klaviyo.com/en/reference/get_brand_social_groups.md","https://developers.klaviyo.com/en/reference/get_brand_social_group.md","https://developers.klaviyo.com/en/reference/create_brand_social_group.md","https://developers.klaviyo.com/en/reference/update_brand_social_group.md","https://developers.klaviyo.com/en/reference/delete_brand_social_group.md","https://developers.klaviyo.com/en/reference/get_brand_email_defaults.md","https://developers.klaviyo.com/en/reference/get_brand_email_default.md"]
---

# Update Brand Email Default

> This is the Markdown version of https://developers.klaviyo.com/en/reference/update_brand_email_default

```http
PATCH https://a.klaviyo.com/api/brand-email-defaults/{id}
```

Partial update of the brand email defaults for the authenticated account.

- Revision header: `revision: 2026-10-15` (required)
- Scopes: `brands:write`
- Rate limits: Burst: `3/s`, Steady: `60/m`
- OpenAPI: [Download this endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json)

## Example request

### curl

```bash
curl --request PATCH \
     --url 'https://a.klaviyo.com/api/brand-email-defaults/abc123' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2026-10-15' \
     --header 'content-type: application/vnd.api+json' \
     --data '{
  "data": {
    "type": "brand-email-default",
    "id": "abc123",
    "attributes": {}
  }
}'
```

### CLI

```bash
klaviyo brands update-brand-email-default abc123 \
  -d '{
  "data": {
    "type": "brand-email-default",
    "id": "abc123",
    "attributes": {}
  }
}'
```

Sign in first with `klaviyo auth login`. [Install the Klaviyo CLI](https://developers.klaviyo.com/en/docs/klaviyo_cli.md)

### Python

```python
from klaviyo_api import KlaviyoAPI

klaviyo = KlaviyoAPI("your-private-api-key")

response = klaviyo.Brands.update_brand_email_default(
    "abc123",
    {
        "data": {
            "type": "brand-email-default",
            "id": "abc123",
            "attributes": {},
        },
    },
)
```

Install it with `pip install klaviyo-api`. [The Python SDK on GitHub](https://github.com/klaviyo/klaviyo-api-python)

### Node.js

```javascript
import { ApiKeySession, BrandsApi } from 'klaviyo-api'

const session = new ApiKeySession('your-private-api-key')
const brandsApi = new BrandsApi(session)

const response = await brandsApi.updateBrandEmailDefault(
  'abc123',
  {
    data: {
      type: 'brand-email-default',
      id: 'abc123',
      attributes: {},
    },
  },
)
```

Install it with `npm install klaviyo-api`. [The Node.js SDK on GitHub](https://github.com/klaviyo/klaviyo-api-node)

### Ruby

```ruby
require 'klaviyo-api-sdk'

KlaviyoAPI.configure do |config|
  config.api_key['Klaviyo-API-Key'] = 'Klaviyo-API-Key your-private-api-key'
end

response = KlaviyoAPI::Brands.update_brand_email_default(
  'abc123',
  {
    data: {
      type: 'brand-email-default',
      id: 'abc123',
      attributes: {},
    },
  },
)
```

Install it with `gem install klaviyo-api-sdk`. [The Ruby SDK on GitHub](https://github.com/klaviyo/klaviyo-api-ruby)

### PHP

```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');

use KlaviyoAPI\KlaviyoAPI;

$klaviyo = new KlaviyoAPI('your-private-api-key');

$response = $klaviyo->Brands->updateBrandEmailDefault(
    'abc123',
    [
        'data' => [
            'type' => 'brand-email-default',
            'id' => 'abc123',
            'attributes' => new \stdClass(),
        ],
    ],
);
```

Install it with `composer require klaviyo/api`. [The PHP SDK on GitHub](https://github.com/klaviyo/klaviyo-api-php)

## Path parameters

- `id` (string, required): The ID of the brand email defaults (must equal the account ID). Example: `abc123`

## Query parameters

- `fields[brand-email-default]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/reference.md) Allowed values: `body`, `body.background_color`, `body.body_background_color`, `body.h1_text`, `body.h1_text.color`, `body.h1_text.font_family`, `body.h1_text.font_size`, `body.h1_text.font_style`, `body.h1_text.font_weight`, `body.h1_text.letter_spacing`, `body.h1_text.text_decoration`, `body.h2_text`, `body.h2_text.color`, `body.h2_text.font_family`, `body.h2_text.font_size`, `body.h2_text.font_style`, `body.h2_text.font_weight`, `body.h2_text.letter_spacing`, `body.h2_text.text_decoration`, `body.h3_text`, `body.h3_text.color`, `body.h3_text.font_family`, `body.h3_text.font_size`, `body.h3_text.font_style`, `body.h3_text.font_weight`, `body.h3_text.letter_spacing`, `body.h3_text.text_decoration`, `body.h4_text`, `body.h4_text.color`, `body.h4_text.font_family`, `body.h4_text.font_size`, `body.h4_text.font_style`, `body.h4_text.font_weight`, `body.h4_text.letter_spacing`, `body.h4_text.text_decoration`, `body.link_text`, `body.link_text.color`, `body.link_text.font_family`, `body.link_text.font_size`, `body.link_text.font_style`, `body.link_text.font_weight`, `body.link_text.letter_spacing`, `body.link_text.text_decoration`, `body.text`, `body.text.color`, `body.text.font_family`, `body.text.font_size`, `body.text.font_style`, `body.text.font_weight`, `body.text.letter_spacing`, `body.text.text_decoration`, `footer`, `footer.background_color`, `footer.link_text`, `footer.link_text.color`, `footer.link_text.font_family`, `footer.link_text.font_size`, `footer.link_text.font_style`, `footer.link_text.font_weight`, `footer.link_text.letter_spacing`, `footer.link_text.text_decoration`, `footer.social_group_color`, `footer.text`, `footer.text.color`, `footer.text.font_family`, `footer.text.font_size`, `footer.text.font_style`, `footer.text.font_weight`, `footer.text.letter_spacing`, `footer.text.text_decoration`, `header`, `header.background_color`, `header.link_text`, `header.link_text.color`, `header.link_text.font_family`, `header.link_text.font_size`, `header.link_text.font_style`, `header.link_text.font_weight`, `header.link_text.letter_spacing`, `header.link_text.text_decoration`, `header.links`, `header.logo_max_width`, `id`

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2026-10-15`

## Request body

Content type: `application/vnd.api+json` (required)

- `data` (object, required)
  - `type` (string, required): Allowed values: `brand-email-default`
  - `id` (string, required): The ID of the brand email defaults (must equal the account ID). Example: `abc123`
  - `attributes` (object, required)
    - `body` (object)
      - `background_color` (string, nullable): Hex color for the body section background. Example: `#ffffff`
      - `body_background_color` (string, nullable): Hex color for the canvas behind the body content. Visible as a frame around the body when the email is wider than the body. Example: `#f5f5f5`
      - `text` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
      - `h1_text` (BrandLibraryTextStyles): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
      - `h2_text` (BrandLibraryTextStyles): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
      - `h3_text` (BrandLibraryTextStyles): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
      - `h4_text` (BrandLibraryTextStyles): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
      - `link_text` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
    - `header` (object)
      - `background_color` (string, nullable): Hex color for the header background. Example: `#000000`
      - `links` (object[], nullable): Header navigation links rendered above the body. Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
      - `link_text` (LinkTextStyles): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
      - `logo_max_width` (integer, nullable): Maximum rendered width of the header logo, in pixels. Omit to preserve the currently stored value; send `null` to clear it (the logo will render at its natural width). Example: `160`
    - `footer` (object)
      - `background_color` (string, nullable): Hex color for the footer background. Example: `#ffffff`
      - `text` (BrandLibraryTextStyles): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
      - `link_text` (LinkTextStyles): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
      - `social_group_color` (string, nullable): Color treatment to apply to social-group icons in the footer (`black`, `default`, `grey`, or `white`). Allowed values: `black`, `default`, `grey`, `white` Example: `default`
  - `relationships` (object)
    - `brand-button` (object)
      - `data` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
    - `brand-logo` (object)
      - `data` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
    - `brand-social-group` (object)
      - `data` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).

### Example request body

```json
{
  "data": {
    "type": "brand-email-default",
    "id": "abc123",
    "attributes": {}
  }
}
```

## Responses

### 200: Success

Content type: `application/vnd.api+json`

- `data` (object, required)
  - `type` (string, required): Allowed values: `brand-email-default`
  - `id` (string, required): The ID of the brand email defaults (equal to the company ID). Example: `abc123`
  - `attributes` (object, required)
    - `body` (object, required)
      - `background_color` (string, required): Hex color for the body section background. Example: `#ffffff`
      - `body_background_color` (string, required): Hex color for the canvas behind the body content. Visible as a frame around the body when the email is wider than the body. Example: `#f5f5f5`
      - `text` (object, required): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
      - `h1_text` (BrandLibraryTextStyles, required): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
      - `h2_text` (BrandLibraryTextStyles, required): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
      - `h3_text` (BrandLibraryTextStyles, required): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
      - `h4_text` (BrandLibraryTextStyles, required): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
      - `link_text` (object, required): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
    - `header` (object, required)
      - `background_color` (string, required): Hex color for the header background. Example: `#000000`
      - `links` (object[], required): Header navigation links rendered above the body. Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
      - `link_text` (LinkTextStyles, required): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
      - `logo_max_width` (integer, nullable): Maximum rendered width of the header logo, in pixels. `null` lets the logo render at its natural width. Default: `160` Example: `160`
    - `footer` (object, required)
      - `background_color` (string, required): Hex color for the footer background. Example: `#ffffff`
      - `text` (BrandLibraryTextStyles, required): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
      - `link_text` (LinkTextStyles, required): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
      - `social_group_color` (string, required): Color treatment to apply to social-group icons in the footer (`black`, `default`, `grey`, or `white`). Allowed values: `black`, `default`, `grey`, `white` Example: `default`
  - `relationships` (object)
    - `brand-button` (object)
      - `data` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
      - `links` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
    - `brand-logo` (object)
      - `data` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
      - `links` (RelationshipLinks): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
    - `brand-social-group` (object)
      - `data` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
      - `links` (RelationshipLinks): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/update_brand_email_default.json).
  - `links` (object, required)
    - `self` (string<uri>, required)
- `links` (ObjectLinks): Same fields as the first ObjectLinks above.
- `meta` (object): Response-level metadata
  - `agent_hints` (object): Optional hints emitted by the API for agent callers
    - `next_steps` (string[]): Suggested follow-up actions for agents to take after this response

#### Example response body

```json
{
  "data": {
    "type": "brand-email-default",
    "id": "abc123",
    "attributes": {
      "body": {
        "background_color": "#ffffff",
        "body_background_color": "#f5f5f5",
        "text": {
          "color": "string",
          "font_size": 0,
          "font_style": "italic",
          "font_family": "string",
          "font_weight": 100,
          "letter_spacing": "string",
          "text_decoration": ""
        },
        "h1_text": {
          "color": "string",
          "font_size": 0,
          "font_style": "italic",
          "font_family": "string",
          "font_weight": 100,
          "letter_spacing": "string",
          "text_decoration": ""
        },
        "h2_text": {
          "color": "string",
          "font_size": 0,
          "font_style": "italic",
          "font_family": "string",
          "font_weight": 100,
          "letter_spacing": "string",
          "text_decoration": ""
        },
        "h3_text": {
          "color": "string",
          "font_size": 0,
          "font_style": "italic",
          "font_family": "string",
          "font_weight": 100,
          "letter_spacing": "string",
          "text_decoration": ""
        },
        "h4_text": {
          "color": "string",
          "font_size": 0,
          "font_style": "italic",
          "font_family": "string",
          "font_weight": 100,
          "letter_spacing": "string",
          "text_decoration": ""
        },
        "link_text": {
          "color": "string",
          "font_size": 0,
          "font_style": "italic",
          "font_weight": 100,
          "font_family": "string",
          "letter_spacing": "string",
          "text_decoration": ""
        }
      },
      "header": {
        "background_color": "#000000",
        "links": [
          {
            "text": "string",
            "url": "string"
          }
        ],
        "link_text": {
          "color": "string",
          "font_size": 0,
          "font_style": "italic",
          "font_weight": 100,
          "font_family": "string",
          "letter_spacing": "string",
          "text_decoration": ""
        },
        "logo_max_width": 160
      },
      "footer": {
        "background_color": "#ffffff",
        "text": {
          "color": "string",
          "font_size": 0,
          "font_style": "italic",
          "font_family": "string",
          "font_weight": 100,
          "letter_spacing": "string",
          "text_decoration": ""
        },
        "link_text": {
          "color": "string",
          "font_size": 0,
          "font_style": "italic",
          "font_weight": 100,
          "font_family": "string",
          "letter_spacing": "string",
          "text_decoration": ""
        },
        "social_group_color": "default"
      }
    },
    "relationships": {
      "brand-button": {
        "data": {
          "type": "brand-button",
          "id": "string"
        },
        "links": {
          "self": "https://www.example.com",
          "related": "https://www.example.com"
        }
      },
      "brand-logo": {
        "data": {
          "type": "brand-logo",
          "id": "string"
        },
        "links": {
          "self": "https://www.example.com",
          "related": "https://www.example.com"
        }
      },
      "brand-social-group": {
        "data": {
          "type": "brand-social-group",
          "id": "string"
        },
        "links": {
          "self": "https://www.example.com",
          "related": "https://www.example.com"
        }
      }
    },
    "links": {
      "self": "https://www.example.com"
    }
  },
  "links": {
    "self": "https://www.example.com"
  },
  "meta": {
    "agent_hints": {
      "next_steps": [
        "string"
      ]
    }
  }
}
```

### 4XX: Client Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
