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"
}
Update a tag
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"
}
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"
}
Was this page helpful?