PUT
/
agents
/
{agentId}
/
leads
/
tags
/
{tagId}
Update Tag
curl --request PUT \
  --url https://api.chat-dash.com/v1/public/agents/{agentId}/leads/tags/{tagId} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "label": "<string>"
}'
{
  "_id": "<string>",
  "label": "<string>",
  "system": true
}

Headers

Authorization
string
required

All requests to the ChatDash API must be validated with the agency API Key found on your agency profile

Path Parameters

agentId
string
required

The ID of the agent

tagId
string
required

The ID of the tag

Body

application/json
label
string

The label of the tag

Response

OK - Tag successfully updated

_id
string

The ID of the tag

label
string

The label of the tag

system
boolean

Whether the tag is a system tag