All APIs

Replace note tags by names

Notes View as Markdown

PUT/api/note/{noteId}/tags

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

Parameters

noteIdintegerpathRequired
ID of the note.

Request body

namesstring[]Required
Names of the tags to set (up to 50). Replaces all tags on the note; tags that do not exist yet are created. An empty array removes every tag.
colorstring | null
Color for tags created by this request (up to 32 characters). Existing tags keep their color. Omit or null for the default color.

Responses

  • 200Updated tags
  • 400Too many tags
  • 401Authentication is required
  • 403Not a project member
  • 404Note 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.