PUT
/
v1
/
teams
/
{teamUuid}
/
tags
/
{tagUuid}
curl --request PUT \
  --url https://platform.thena.ai/v1/teams/{teamUuid}/tags/{tagUuid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-org-id: <api-key>' \
  --data '{
  "name": "Urgent",
  "color": "#FF0000",
  "description": "Used for urgent tickets that need immediate attention"
}'
{
  "status": true,
  "message": "Success",
  "timestamp": "2024-01-01T00:00:00.000Z",
  "teamUuid": "<string>",
  "data": {
    "count": 123,
    "items": [
      {}
    ]
  }
}

Authorizations

Authorization
string
header
required

Enter JWT bearer token

x-org-id
string
header
required

Enter organization ID

Path Parameters

teamUuid
string
required
tagUuid
string
required

Body

application/json
name
string | null

The name of the tag

Required string length: 1 - 50
Example:

"Urgent"

color
string | null

Color in hexadecimal format

Example:

"#FF0000"

description
string | null

Optional description of the tag

Maximum length: 255
Example:

"Used for urgent tickets that need immediate attention"

Response

200
application/json
Operation successful
status
boolean
default:true
required

The status of the response

message
string
default:Success
required

The message of the response

timestamp
string
default:2024-01-01T00:00:00.000Z
required

The timestamp of the response

teamUuid
string
required

The team ID

data
object
required

Updates tags for a particular team.