Magidoc

updateColorTag
Mutation

Renames a ColorTag. id is the ColorTag id and name the new label; the tag's color and its existing associations to tasks are unchanged. Works for both Project-scoped and Recipe-scoped tags, color and text variants alike, but the special Milestone tag cannot be renamed.

There is no createColorTag mutation, so renaming the entries seeded by createDefaultColorTags is how the color set is customized. Requires update permission on the owning Project (Project Admin, Stack Admin, or Workspace Admin) or Recipe. Returns the updated ColorTag; fails with not_allowed otherwise.

Arguments

#

id

Non-null

ColorTag id.

name

Non-null

Response

#

Returns ColorTag .

Example

#