Skip to main content
PATCH
/
v1
/
tags
/
{id}
curl -X PATCH https://api.getmatter.com/public/v1/tags/tag_n5j2x \
  -H "Authorization: Bearer mat_your_token_here" \
  -H "Content-Type: application/json" \
  -d '{"name": "long-reads"}'
{
  "object": "tag",
  "id": "tag_n5j2x",
  "name": "long-reads",
  "item_count": 42,
  "created_at": "2025-01-15T10:00:00Z"
}

Path Parameters

id
string
required
The tag ID. Example: tag_n5j2x.

Body Parameters

name
string
required
The new tag name.

Response

Returns the updated tag.
curl -X PATCH https://api.getmatter.com/public/v1/tags/tag_n5j2x \
  -H "Authorization: Bearer mat_your_token_here" \
  -H "Content-Type: application/json" \
  -d '{"name": "long-reads"}'
{
  "object": "tag",
  "id": "tag_n5j2x",
  "name": "long-reads",
  "item_count": 42,
  "created_at": "2025-01-15T10:00:00Z"
}