Conversations
Update a tag
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the settings:write ability
Path parameters
tagstringrequiredId of the tag, starting with tag_, such as tag_01jx2m8k4t. Find it with GET /tags.
Body
application/jsoncolorstringA hex color such as #3b82f6, or null to clear it.
iconstringAn icon as one emoji, such as 📦.
Maximum length: 40
namestringThe name of the tag, at most 100 characters.
Minimum length: 1 · Maximum length: 100
Response 200
OKdataobjectrequiredShow child attributesHide child attributes
colorstring | nullrequiredThe tag's color as a hex value, such as #ff5500, kept as the workspace wrote it; null when it has none.
iconstring | nullrequiredName of the tag's icon; null when it has none.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
namestringrequiredThe tag's name.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.