Skip to the page
API pages

Guides

Endpoints

Requests15
Deleted requests2
Comments5
Comment search1
Voters3
Followers3
Boards4
Tags5
Issues5
Statuses1
Roadmap2
Insights10
Search1
People5
Teammates4
Conversations11
Operators1
Saved replies4
Changelog entries12
Changelog tags4
Changelog subscribers2
Help articles12
Help collections3
System status4
Knowledge sources6
Knowledge pages3
Otto2
Moderation2
Audit log1
Webhooks6
Webhook deliveries2
Token1

Rename a tag

PATCHhttps://app.notert.io/api/v1/tags/{id}

Renames a tag, or changes its chip's color with it, as the token's holder, who must be an owner or admin, through a token that reaches every board (TOKEN_HELD_TO_BOARDS), since every request wearing it shows the new name at once. A color left out stays. A name is the workspace's once in any case (NAME_TAKEN). One deleted, or another workspace's, is NOT_FOUND. Answers the tag.

A token with requests:manage. How to send one

Request

curl -X PATCH https://app.notert.io/api/v1/tags/8e2f4a6c-1b3d-4e5f-9a7b-2c4d6e8f0a13 \
  -H "Authorization: Bearer $NOTERT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Integrations",
  "color": "blue"
}'

Response 200

{
  "id": "8e2f4a6c-1b3d-4e5f-9a7b-2c4d6e8f0a13",
  "name": "Integrations"
}

Path parameters

  • idstringRequired

    The tag's id.

    At most 64 characters.

Body

  • namestringRequired

    Its name now, up to 48 characters. Send the name it has to change only its color.

    At least 1 character. At most 48 characters.

  • colorstring

    The color its chip wears in the app, one of the colors the schema lists. Green when left out.

    One ofgraygoldbronzebrownyellowamberorangeredrubycrimsonpinkplumpurplevioletirisindigobluecyantealjadegreenlimemintsky

Response 200

  • idstring

    The tag's id.

  • namestring

    The tag's name.

Errors

  • 400BAD_REQUESTInput validation failed.
  • 401UNAUTHORIZEDSend a valid API token as a Bearer token.
  • 403FORBIDDENThe teammate who holds this API token's secret can't rename tags. Only an owner or admin can.
  • 403HOLDER_NOT_ALLOWEDThe teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings.
  • 403INSUFFICIENT_SCOPEThis API token can't change or delete requests, their status or their place on the roadmap. Create one that may in the workspace's settings.
  • 403NETWORK_NOT_ALLOWEDThis API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings.
  • 403NO_SEATThis workspace's plan has no seat for you.
  • 403TOKEN_HELD_TO_BOARDSA tag is worn by requests on every board, so this token, held to some, can't rename one. Use a token that reaches every board.
  • 403WORKSPACE_SUSPENDEDThis workspace is suspended.
  • 404NOT_FOUNDNot Found.
  • 409CHANGED_MEANWHILESomething changed meanwhile. Try again.
  • 409NAME_TAKENAnother tag already has that name. Pick another.
  • 429TOO_MANY_REQUESTSToo Many Requests. Its data holds retryAfter.

A refusal names its code beside a message. Rate limits says when to try again.