Skip to main content
PATCH
/
tags
/
{tag_id}
Update Tag
curl --request PATCH \
  --url https://api.peec.ai/customer/v1/tags/{tag_id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "color": "gray"
}
'
{}

Authorizations

X-API-Key
string
header
required

Path Parameters

tag_id
string
required

Body

name
string
Minimum string length: 1
color
enum<string>
Available options:
gray,
red,
orange,
yellow,
lime,
green,
cyan,
blue,
purple,
fuchsia,
pink,
emerald,
amber,
violet,
indigo,
teal,
sky,
rose,
slate,
zinc,
neutral,
stone

Response

Tag updated successfully

Tag updated successfully