# updateBrand

> Mutation in domain **Brands**

- HTML: [updateBrand.html](updateBrand.html)
- Raw SDL: [updateBrand.sdl](updateBrand.sdl)
- Covered by: [llms.txt](../llms.txt)

Update an existing `Brand`. Requires `basic:write` scope to be accessible and `Brand` permission level `EDIT`.

Status: _(beta)_

## Returns

`UpdateBrand`

## Arguments

- `input`: `UpdateBrandInput!` — `UpdateBrand` input argument.

## Example

```graphql
mutation UpdateBrand {
  updateBrand(
    input: {
      id: "…"
      data: { }
    }
  ) {
    __typename
    brand {
      avatar
      name
      id
      slug
      creativeTemplates {
        total
        page
        limit
        hasNextPage
        items { id }
      }
      customMetadataProperties {
        name
        id
        createdAt
        defaultValue
        creator { id }
        dependency { propertyId }
      }
      enhancedSearch {
        hasNextPage
        limit
        page
        edges { title }
        items {
          __typename
          ... on Audio { id }
          ... on Document { id }
          ... on EmbeddedContent { id }
          ... on File { id }
          ... on Image { id }
          ... on Video { id }
        }
      }
      essentials {
        colorPalettes {
          total
          page
          limit
          hasNextPage
          items { id }
        }
        fontFamilies {
          total
          page
          limit
          hasNextPage
          items { id }
        }
      }
      guidelines {
        total
        page
        limit
        hasNextPage
        items { id }
      }
    }
  }
}
```

Raw: [`updateBrand.example.sdl`](updateBrand.example.sdl)
