# Update Color Tags

> Learn how to update tags on a saved brand color

- **URL**: https://orshot.com/docs/api-reference/brand-colors-update

---

## Overview

This endpoint allows you to update the tags on a specific saved color in your workspace.```markdown tab="Endpoint"
https://api.orshot.com/v1/brand-assets/colors/update/:id
```## Request

<Tabs items=>
<Tab value="Request">```js
await fetch("https://api.orshot.com/v1/brand-assets/colors/update/123", {
  method: "PATCH",
  headers: {
    "Content-Type": "application/json",
    Authorization: "Bearer <ORSHOT_API_KEY>",
  },
  body: JSON.stringify({
    tags: ["primary", "brand", "buttons"],
  }),
});
```</Tab>
<Tab value="Response">```json
{
  "data": {
    "id": 123,
    "created_at": "2025-09-10T15:30:45.123Z",
    "type": "hex",
    "value": "#FF5733",
    "tags": ["primary", "brand", "buttons"],
    "workspace_id": 50,
    "user_id": "abcdef01-2345-6789-abcd-ef0123456789"
  }
}
```</Tab>
</Tabs>

## Path Parameters

| Parameter | Type   | Required | Description                                  |
| --------- | ------ | -------- | -------------------------------------------- |
| `id`      | Number | Yes      | The unique identifier of the color to update |

## Request Parameters

| Parameter | Type     | Required | Description                                                    |
| --------- | -------- | -------- | -------------------------------------------------------------- |
| `tags`    | String[] | Yes      | Array of tags to set on the color (replaces any existing tags) |

## Notes

- Tags are automatically normalized: trimmed, deduplicated (case-insensitive), and empty values are removed
- Passing an empty array `[]` will clear all tags from the color

## Error Responses

### Color Not Found (404)```json
{
  "error": "Color not found"
}
```### Invalid Tags (400)```json
{
  "error": "\"tags\" must be an array of strings"
}
```## Rate Limits

- 30 requests per minute per endpoint