curl --request PATCH \
--url https://api.getfernand.com/tags/{slug} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"name": "Premium Customer",
"color": "#00FF00"
}
'{
"id": 42,
"slug": "important-customer",
"name": "Important Customer",
"color": "#FF5733",
"count_conversations": 15,
"is_system": false
}curl --request PATCH \
--url https://api.getfernand.com/tags/{slug} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"name": "Premium Customer",
"color": "#00FF00"
}
'{
"id": 42,
"slug": "important-customer",
"name": "Important Customer",
"color": "#FF5733",
"count_conversations": 15,
"is_system": false
}Slug of the tag to update
Tag updated successfully
Unique identifier for the tag
42
URL-friendly slug generated from the tag name
50"important-customer"
Display name of the tag
50"Important Customer"
Hex color code for the tag (e.g.,
"#FF5733"
Number of conversations associated with this tag
15
Whether this is a system-defined tag that cannot be modified or deleted
false
Was this page helpful?