PATCH

Update a brand item

Rename a color, font or image in the brand kit, or set its tags.

View as Markdown
PATCHhttps://api.muzekit.com/v1/brand/{id}
curl -X PATCH https://api.muzekit.com/v1/brand/ast_dQC3Z8RgqAH \
  -H "Authorization: Bearer $MUZEKIT_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Ocean", "tags": ["primary", "web"] }'

The id is an item's from Get the brand kit. An id that isn't in the brand kit answers 404 asset_not_found.

Body

namestring

The item's new name, 1 to 200 characters.

tagsstring[]

The item's tags, up to 30 of up to 50 characters each. Replaces the list; [] clears it.

Send name, tags or both; an empty body answers 400. A color keeps its value: to change the color itself, add the new one with Add a brand color and remove the old one. Renaming a font doesn't change its family, so designs that use the font keep it. The brand kit is the editor's, so Test and Live keys change the same one.

Examples

Tag the colors your templates should use

Tags are yours to use: for example, tag the colors an AI agent may pick for headlines, and read them back from the brand kit.

for id in ast_dQC3Z8RgqAH ast_Pq8wN2xTr5m; do
  curl -s -X PATCH "https://api.muzekit.com/v1/brand/$id" \
    -H "Authorization: Bearer $MUZEKIT_SECRET_KEY" \
    -H "Content-Type: application/json" \
    -d '{ "tags": ["headline"] }' > /dev/null
done

Give an uploaded logo a clear name

Uploads keep their file name, such as IMG_2041.png. Rename the item so your team and your users find it in the editor.

curl -X PATCH https://api.muzekit.com/v1/brand/ast_Hn4cW2rTq8z \
  -H "Authorization: Bearer $MUZEKIT_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Logo (dark)" }'

Response

The item, with every asset field.

JSON
{
  "object": "asset",
  "id": "ast_dQC3Z8RgqAH",
  "kind": "color",
  "name": "Ocean",
  "tags": ["primary", "web"],
  "url": null,
  "value": "#0070F7",
  "type": null,
  "size": null,
  "width": null,
  "height": null,
  "family": null,
  "created_at": "2026-10-17T02:10:00.000Z"
}