Skip to main content

Endpoint

PUT /backend/tags/{id}

Path Parameters

id
string
required
Tag ID

Body Parameters

name
string
Tag name
color
string
Color in hexadecimal

Request Example

curl -X PUT "https://api.leavo.ai/backend/tags/tag-uuid" \
  -H "Authorization: Bearer your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "High Priority",
    "color": "#DC2626"
  }'

Response

{
  "success": true,
  "data": {
    "id": "tag-uuid",
    "name": "High Priority",
    "color": "#DC2626",
    "updated_at": "2024-01-15T14:00:00Z"
  }
}