# Update Image Tags

> Learn how to update tags on a brand asset image

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

---

## Overview

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

<Tabs items=>
<Tab value="Request">```js
await fetch("https://api.orshot.com/v1/brand-assets/images/update/101", {
  method: "PATCH",
  headers: {
    "Content-Type": "application/json",
    Authorization: "Bearer <ORSHOT_API_KEY>",
  },
  body: JSON.stringify({
    tags: ["logo", "brand", "website"],
  }),
});
```</Tab>
<Tab value="Response">```json
{
  "data": {
    "id": 101,
    "created_at": "2025-09-10T15:30:45.123Z",
    "direct_url": "https://storage.orshot.com/brand-assets/workspace_id/brand-asset-1694444444.png",
    "file_name": "brand-asset-1694444444.png",
    "file_size": 42568,
    "meta": {},
    "tags": ["logo", "brand", "website"],
    "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 brand asset to update |

## Request Parameters

| Parameter | Type     | Required | Description                                                    |
| --------- | -------- | -------- | -------------------------------------------------------------- |
| `tags`    | String[] | Yes      | Array of tags to set on the asset (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 asset

## Error Responses

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

- 30 requests per minute per endpoint