Tags
Update a tag
Updates an existing tag's name and/or color. When the name is changed, the slug is automatically regenerated. Requires `canUpdateTag`.
Updates an existing tag's name and/or color. When the name is changed, the slug is automatically regenerated. Requires canUpdateTag.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
tagId*string
The ID of the tag to update
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/tags/65af4c7b22ac19c0b1648555" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "65af4c7b22ac19c0b1648555", "name": "Updated Priority", "slug": "updated-priority", "ownerResourceType": "project", "ownerResourceId": "65af4c7b22ac19c0b1648241", "color": "#2962FF", "createdAt": 1678886400000, "updatedAt": "2023-03-15T12:10:00.000Z"}