Skip to content

Update Tag

PUT
/v1/tags/{id}
curl --request PUT \
--url https://example.com/api/v1/tags/example \
--header 'Authorization: <Authorization>' \
--header 'Content-Type: application/json' \
--data '{ "color": "example", "description": "example", "icon": "example", "id": "example", "name": "example", "parentId": "example" }'
id
required
string

Tag ID

Tag Data

Media type application/json
object
color
string
description
string
<= 1000 characters
icon
string
<= 255 characters
id
string
name
required
string
>= 1 characters <= 255 characters
parentId
string
nullable
Example generated
{
"color": "example",
"description": "example",
"icon": "example",
"id": "example",
"name": "example",
"parentId": "example"
}

OK

Media type application/json
object
children
Array<object>
object
color
string
createdAt
string
description
string
icon
string
id
string
name
string
parentId
string
nullable
updatedAt
string
color
string
createdAt
string
description
string
icon
string
id
string
name
string
parent
object
color
string
createdAt
string
description
string
icon
string
id
string
name
string
parentId
string
nullable
updatedAt
string
parentId
string
nullable
updatedAt
string
Example generated
{
"children": [
{
"color": "example",
"createdAt": "example",
"description": "example",
"icon": "example",
"id": "example",
"name": "example",
"parentId": "example",
"updatedAt": "example"
}
],
"color": "example",
"createdAt": "example",
"description": "example",
"icon": "example",
"id": "example",
"name": "example",
"parent": {
"color": "example",
"createdAt": "example",
"description": "example",
"icon": "example",
"id": "example",
"name": "example",
"parentId": "example",
"updatedAt": "example"
},
"parentId": "example",
"updatedAt": "example"
}