---
title: "Update Brand"
description: "Update an existing brand identity"
url: https://sivi.ai/developer/docs/sivi-api/core-api/brand/update-brand
---

# Update Brand

Update an existing brand identity for the authenticated workspace. Only the fields provided in the request will be updated; omitted fields remain unchanged.

## Endpoint

```http
POST brand/update
```

## Authentication

Include your Enterprise API credentials in the request headers:

```http
sivi-api-key: YOUR_API_KEY
```

### Request Body Example

```json
{
  "bId": "b_s87vFxpfM0R",
  "brandName": "Sivi AI",
  "brandDescription": "AI-powered design generation platform",
  "brandUrl": "https://sivi.ai",
  "brandColors": ["#5662EC", "#EF9AB2", "#FF6B6B"],
  "brandPersona": {
    "emotions": ["excited", "innovative"],
    "industry": "technology",
    "audience": ["designers", "marketers"],
    "designTags": ["modern", "bold"]
  },
  "imageGenPreference": {
    "model": "flux-1.1-pro"
  },
  "textGenPreference": {
    "model": "gpt-4o"
  },
}
```

## Request Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `bId` | String | Yes | Brand ID to update |
| `brandName` | String | No | Updated brand name |
| `brandDescription` | String | No | Updated brand description |
| `brandUrl` | String | No | Updated website URL |
| `brandLogo` | String | No | Updated logo URL |
| `brandColors` | Array | No | Updated list of brand colors in hex format |
| `brandFonts` | Array | No | Updated list of brand fonts |
| `brandPersona` | Object | No | Updated brand persona details |
| `brandPersona.emotions` | Array | No | List of brand emotions |
| `brandPersona.industry` | String | No | Brand industry |
| `brandPersona.audience` | Array | No | List of target audience |
| `brandPersona.designTags` | Array | No | List of design tags |
| `imageGenPreference` | Object | No | Image generation model preferences |
| `imageGenPreference.model` | String | No | Image generation model. See [Supported Models](https://sivi.ai/developer/docs/sivi-api/common/supported-models.md#image-generation-models) for allowed values |
| `textGenPreference` | Object | No | Text generation model preferences |
| `textGenPreference.model` | String | No | Text generation model. See [Supported Models](https://sivi.ai/developer/docs/sivi-api/common/supported-models.md#text-generation-models) for allowed values |

Note:: See all available options for each parameter in the [Brand Persona Details](https://sivi.ai/developer/docs/sivi-api/common/brand-persona-details.md) section.

## Response

### Success Response (200 OK)

```json
{
  "status": 200,
  "body": {
    "message": "Brand updated successfully",
    "bId": "b_s87vFxpfM0R",
    "brandDetail": {
      "bId": "b_s87vFxpfM0R",
      "brandName": "Sivi",
      "brandDescription": "AI design generator for brands and layered vector based design generation",
      "brandUrl": "https://sivi.ai",
      "brandColors": [
        { "color": "#5662EC", "addedBy": "user", "primary": false },
        { "color": "#EF9AB2", "addedBy": "user", "primary": false }
      ],
      "brandFonts": [],
      "brandPersona": {
        "industry": "technology",
        "emotions": ["excited"],
        "audience": ["tech enthusiasts"],
        "designTags": ["innovative solutions"]
      },
      "brandLogos": ["https://media.hellosivi.com/logo/abc.png"],
      "brandImages": ["https://media.hellosivi.com/photo/xyz.jpg"]
    }
  }
}
```

### Error Responses

#### Brand Not Found (404 Not Found)

```json
{
  "status": 404,
  "body": {
    "message": "Brand not found in workspace"
  }
}
```

#### Authentication Error (401 Unauthorized)

```json
{
  "status": 401,
  "body": {
    "message": "Failed to authenticate request. Please add sivi-api-key header in request"
  }
}
```

#### Invalid Input (422 Unprocessable Entity)

```json
{
  "status": 422,
  "body": {
    "message": "bId is required"
  }
}
```

#### Invalid Model (422 Unprocessable Entity)

```json
{
  "status": 422,
  "body": {
    "message": "imageGenPreference model 'invalid-model' is not supported. Allowed: flux-1.1-pro, ..."
  }
}
```

#### Server Error (500 Internal Server Error)

```json
{
  "status": 500,
  "body": {
    "message": "Server internal error"
  }
}
```

## Usage Notes

- The brand must belong to the authenticated workspace
- Only provided fields will be updated; omit fields you don't want to change
- `brandPersona` is internally mapped to `contentMetaInfo` — the API handles this transformation automatically
- When specifying `genModePreference`, you can provide either a single preference object or an array of preferences per mode
- Use `sizeType` for named sizes (e.g., `instagram-post`) instead of manual `dimension` when possible
