Skip to main content
PUT
/
v2
/
tags
/
{id}
Update Tag
curl --request PUT \
  --url https://public.api.serval.com/v2/tags/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "color": "<string>",
  "iconSlug": "<string>"
}
'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "color": "<string>",
    "iconSlug": "<string>",
    "teamId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the tag.

Body

application/json
name
string

The name of the tag.

color
string | null

The color of the tag (CSS color string).

iconSlug
string | null

The icon slug for the tag.

Response

Success

data
data · object

The updated tag.