Skip to main content
PATCH
/
tags
/
{tagId}
Update tag
curl --request PATCH \
  --url https://inboxapp.com/api/v1/tags/{tagId} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "color": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "color": "#3b82f6"
}

Path Parameters

tagId
string
required

The ID of the tag to update.

Body

application/json
name
string

The new name for the tag. Must be unique within the team. Maximum 255 characters.

Required string length: 1 - 255
color
string

Color value. Can be a hex code (e.g., #3b82f6) or a color name (e.g., 'blue', 'red'). Use the /colors endpoint to get available color names.

Response

200 - application/json

OK

id
string
required

Unique identifier for the tag.

name
string
required

The display name of the tag.

color
string | null
required

Hex color code for the tag (e.g., #3b82f6 for blue). Null if no color is set.

Example:

"#3b82f6"