Skip to content
dimmiDocs

Conversations

Update a tag

PATCH/api/v1/tags/{tag}

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the settings:write ability

Path parameters

tagstringrequired

Id of the tag, starting with tag_, such as tag_01jx2m8k4t. Find it with GET /tags.

Body

application/json
colorstring

A hex color such as #3b82f6, or null to clear it.

iconstring

An icon as one emoji, such as 📦.

Maximum length: 40

namestring

The name of the tag, at most 100 characters.

Minimum length: 1 · Maximum length: 100

Response 200

OK
dataobjectrequired
Show child attributes
colorstring | nullrequired

The tag's color as a hex value, such as #ff5500, kept as the workspace wrote it; null when it has none.

iconstring | nullrequired

Name of the tag's icon; null when it has none.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

namestringrequired

The tag's name.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.