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
}Updates the name and/or color of an existing tag identified by its slug. If the name is changed, the slug will be automatically regenerated. System tags cannot be modified.Documentation Index
Fetch the complete documentation index at: https://developers.getfernand.com/llms.txt
Use this file to discover all available pages before exploring further.
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.,
^#[0-9A-Fa-f]{6}$"#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?