PATCH
/
tags
/
{id}
Update a tag
curl --request PATCH \
  --url https://api.breakcold.com/rest/tags/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "name": "<string>",
  "color": "<string>"
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "order": 123,
  "show": true,
  "created_at": "<string>",
  "updated_at": "<string>",
  "color": "<string>",
  "icon": "<string>",
  "id_list": "<string>",
  "id_space": "<string>",
  "ai_instructions": "<any>",
  "ai_rules": "<any>",
  "ai_instructions_text": "<string>",
  "ai_rules_text": "<string>",
  "ai_enabled": true
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

id
string
required

Body

application/json
name
string
required
Required string length: 1 - 255
color
string

Response

Successful response

id
string<uuid>
required
name
string | null
required
order
integer | null
required
show
boolean | null
required
created_at
string
required
updated_at
string | null
required
color
string | null
required
icon
string | null
required
id_list
string | null
required
id_space
string | null
required
ai_instructions
any
ai_rules
any
ai_instructions_text
string | null
ai_rules_text
string | null
ai_enabled
boolean | null