curl --request PATCH \
--url https://platform.thena.ai/v1/tags/{tagId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "Cat",
"color": "#FF0000",
"tagType": "ticket",
"description": "<string>"
}'
{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"color": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}
curl --request PATCH \
--url https://platform.thena.ai/v1/tags/{tagId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "Cat",
"color": "#FF0000",
"tagType": "ticket",
"description": "<string>"
}'
{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"color": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}
Enter your API key
Operation successful
The response is of type object
.