Skip to main content
PATCH
http://localhost:3000
/
tags
/
{id}
curl -X PATCH 'https://api.example.com/tags/tag_high' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "label": "Critical Priority"
  }'
{
  "id": "tag_high",
  "scopeId": "scope_acme",
  "tagGroupId": "tag_group_priority",
  "identifier": "high",
  "label": "Critical Priority",
  "createdBy": "user-1",
  "createdAt": "2024-01-15T10:30:00Z"
}

Path Parameters

id
string
required
ID of the tag to update

Request Body

label
string
Display label for the tag

Response

Returns the updated tag object.
curl -X PATCH 'https://api.example.com/tags/tag_high' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "label": "Critical Priority"
  }'
{
  "id": "tag_high",
  "scopeId": "scope_acme",
  "tagGroupId": "tag_group_priority",
  "identifier": "high",
  "label": "Critical Priority",
  "createdBy": "user-1",
  "createdAt": "2024-01-15T10:30:00Z"
}