---
title: "Update Brand"
method: PATCH
path: "/brands/{brand_id}"
tags: ["Project"]
---

# Update Brand

`PATCH /brands/{brand_id}`

Update a brand within a project. Changes to name, regex, or aliases trigger a background recalculation of metrics. While recalculation is in progress, further updates to these fields are blocked (409 Conflict) until it completes.

## Path parameters

- `brand_id` string, required

## Request body

- object
  - `name` string — Triggers metric recalculation when changed
  - `regex` string, nullable — Triggers metric recalculation when changed
  - `aliases` string[] — Triggers metric recalculation when changed
  - `domains` string[]
  - `color` string — Hex color like #1A2B3C

## Response `200`

Brand updated successfully

- object — Brand updated successfully

## Other responses

- `400` — Response for status 400
- `404` — Response for status 404
- `409` — The brand name already exists, or the brand is currently being recomputed and cannot be updated until the recalculation completes

---

[API](https://skmtc.net/peec/apis/peec-ai-customer-api.md) · [All operations](https://skmtc.net/peec/apis/peec-ai-customer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/peec/peec-ai-customer-api/versions/92840a1bffa7/schema)
