Skip to main content
PATCH
/
v3
/
tags
/
{id}
Update Tag
curl --request PATCH \
  --url https://api4.kinbox.com.br/v3/tags/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "_id": "<string>",
  "name": "<string>",
  "color": "<string>",
  "textColor": "<string>",
  "authorId": 123
}'
{
  "id": "<string>",
  "_id": "<string>",
  "name": "<string>",
  "color": "<string>",
  "textColor": "<string>",
  "authorId": 123,
  "workspaceId": 123,
  "createdAt": "2023-11-07T05:31:56Z",
  "lastUpdateAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
number
required

Body

application/json
_id
string
name
string

Name must be unique by workspace

Maximum length: 128
color
string
Maximum length: 128
textColor
string
Maximum length: 20
authorId
number

Response

200 - application/json
id
string
required
name
string
required

Name must be unique by workspace

Maximum length: 128
color
string
required
Maximum length: 128
workspaceId
number
required
createdAt
string<date-time>
required
lastUpdateAt
string<date-time>
required
_id
string
textColor
string
Maximum length: 20
authorId
number
updatedAt
string<date-time>