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.
OAuth 2.1 authorization code flow with PKCE (required of every client, public or confidential). Scopes are a ceiling on the credential, not a grant of access: a token also cannot exceed what the user who approved it may already do. A write scope does not imply its matching read — ask for both.
In: header
Scope: assets:write
Path Parameters
The ID of the tag to update
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
1 <= propertiesResponse 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 '{ "name": "Updated Priority" }'{ "id": "65af4c7b22ac19c0b1648555", "name": "Updated Priority", "slug": "updated-priority", "ownerResourceType": "project", "ownerResourceId": "65af4c7b22ac19c0b1648241", "color": "#2962FF", "createdAt": 1678886400000, "updatedAt": "2023-03-15T12:10:00.000Z"}