Magidoc

disassociateColorTag
Mutation

Detaches a ColorTag from a Todo or RecipeTodo. id is the ColorTag id; pass exactly one of todoId or recipeTodoId. Other tasks wearing the same tag are unaffected. Color-variant tags remain in the Project's or Recipe's tag set, but a text tag (one with no color) is deleted entirely once its last association is removed. Requires update permission on the target task, mirroring associateColorTag. Returns the ColorTag; fails with not_allowed if the task is inaccessible or does not belong to the tag's Project or Recipe.

Arguments

#

id

Non-null

ColorTag id.

recipeTodoId

todoId

Response

#

Returns ColorTag .

Example

#