curl --request PATCH \
--url https://api.dock.us/{version}/tags/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "Sales",
"boardIds": [
"RiHO4e0Ju3DS"
]
}
'{
"data": {
"tag": {
"id": "RiHO4e0Ju3DS",
"updatedAt": "2021-01-01T00:00:00.000Z",
"createdAt": "2021-01-01T00:00:00.000Z",
"object": "tag",
"url": "https://api.dock.us/v1/tags/RiHO4e0Ju3DS",
"title": "Logo",
"boards": [
{
"id": "RiHO4e0Ju3DS",
"updatedAt": "2021-01-01T00:00:00.000Z",
"createdAt": "2021-01-01T00:00:00.000Z",
"object": "board",
"url": "https://api.dock.us/v1/boards/RiHO4e0Ju3DS",
"title": "Sales",
"appearance": "greyExtraLight",
"icon": "🚀",
"description": "Sales leads"
}
]
}
}
}Update a tag by ID
curl --request PATCH \
--url https://api.dock.us/{version}/tags/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "Sales",
"boardIds": [
"RiHO4e0Ju3DS"
]
}
'{
"data": {
"tag": {
"id": "RiHO4e0Ju3DS",
"updatedAt": "2021-01-01T00:00:00.000Z",
"createdAt": "2021-01-01T00:00:00.000Z",
"object": "tag",
"url": "https://api.dock.us/v1/tags/RiHO4e0Ju3DS",
"title": "Logo",
"boards": [
{
"id": "RiHO4e0Ju3DS",
"updatedAt": "2021-01-01T00:00:00.000Z",
"createdAt": "2021-01-01T00:00:00.000Z",
"object": "board",
"url": "https://api.dock.us/v1/boards/RiHO4e0Ju3DS",
"title": "Sales",
"appearance": "greyExtraLight",
"icon": "🚀",
"description": "Sales leads"
}
]
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unique identifier
"RiHO4e0Ju3DS"
Select the tag properties that should be returned
title, createdAt, updatedAt, boards.title, boards.createdAt, boards.updatedAt, boards.icon, boards.appearance, boards.description Tag to update
Tag updated
Show child attributes
Show child attributes
Id of the object Id of the object
"RiHO4e0Ju3DS"
Last updated date Last updated date
"2021-01-01T00:00:00.000Z"
Created at date Created at date
"2021-01-01T00:00:00.000Z"
Type of the object
tag "tag"
URL to the resource
"https://api.dock.us/v1/tags/RiHO4e0Ju3DS"
Title of the tag
"Logo"
Boards of the tag
Show child attributes
Id of the object
"RiHO4e0Ju3DS"
Last updated date
"2021-01-01T00:00:00.000Z"
Created at date
"2021-01-01T00:00:00.000Z"
Type of the object
board "board"
URL to the resource
"https://api.dock.us/v1/boards/RiHO4e0Ju3DS"
Title of the board
"Sales"
Appearance of the board
greyExtraLight, mandy, saffron, conifer, pastelGreen, downy, malibu, royalBlue, mediumPurple, brilliantRose "greyExtraLight"
Icon of the board
"🚀"
Description of the board
"Sales leads"