API reference
Platform
- Search
- Users
- Teams
- Tickets
- Tags
- Ticket tags
- Accounts
- Forms
- Comments
- Emoji actions
- Custom object fields
- Custom objects
- Object records
- Views
- Views types
- Draft tickets
- Storage
- Reactions
Workflows
- Workflows
Apps platform
- App creation
- App installation
- App uninstallation
- App reinstallation
- Incoming webhook
Tags
Update a tag
PATCH
/
v1
/
tags
/
{tagId}
Copy
Ask AI
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>"
}'
Copy
Ask AI
{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"color": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}
Authorizations
Enter your API key
Path Parameters
Body
application/json
Response
200
application/json
Operation successful
The response is of type object
.
Copy
Ask AI
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>"
}'
Copy
Ask AI
{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"color": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}
Assistant
Responses are generated using AI and may contain mistakes.