All APIs

Replace task tags by names

Tasks View as Markdown

PUT/api/task/{taskId}/tags

Matches space tags by name (find-or-create with the given color) and replaces the task tag links.

Parameters

taskIdintegerpathRequired
ID of the task.

Request body

namesstring[]Required
Names of the tags the task should have (up to 50). This replaces all current tags; an empty array removes them all. Tags that do not exist yet are created.
colorstring | null
Color for newly created tags, such as #8CC230. Existing tags keep their color. Omit to use the default color.

Responses

  • 200Updated tags
  • 400Too many tags
  • 401Authentication is required
  • 403Not a project member
  • 404Task not found

Repsona uses cookies to provide our services. By visiting our website, you agree to the use of cookies as described in our Cookie Policy.