PATCH
/
tags
/
{id}
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": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "color": "<string>",
  "icon": "<string>",
  "id_list": "<string>",
  "id_space": "<string>"
}

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

200
application/json
Successful response
id
string
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