PUT
/
projects
/
{projectId}
/
leads
/
tags
/
{tagId}
curl --request PUT \
  --url https://api.chat-dash.com/v1/public/projects/{projectId}/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

projectId
string
required

The ID of the project

tagId
string
required

The ID of the tag

Body

application/json
label
string

The label of the tag

Response

200
application/json
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