update_tag
Change a tag's color, applying the update to every asset that uses it. Use this when you need to recolor an existing tag; note that renaming is not supported.
Instructions
Update a tag's color. Side effect: changes apply to all assets using this tag.
Immich's API cannot rename a tag (TagUpdateDto only carries color); to rename,
create_tag with the new name, tag_assets, then delete_tag the old one.
Args:
tag_id: The tag's UUID.
name: Not supported by Immich — passing it returns an error explaining the workaround.
color: New hex color (e.g. '#FF5733'). Omit to keep current.
Returns: JSON with the updated tag object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| color | No | ||
| tag_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |