API Reference
Status Check
Accounts
Workspaces
Workspace users
Workspace domains
Workspace pages
Workspace sections
Workspace plan tasks
Update a tag
Update a tag by ID
curl --request PATCH \
--url https://api.dock.so:4000/{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"
}
]
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Unique identifier
"RiHO4e0Ju3DS"
Query Parameters
Select the tag properties that should be returned
title
, createdAt
, updatedAt
, boards.title
, boards.createdAt
, boards.updatedAt
, boards.icon
, boards.appearance
, boards.description
Body
Title of the tag
1
"Sales"
IDs of the boards to associate with the tag
Id of the object
Response
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
tag
"tag"
URL to the resource
"https://api.dock.us/v1/tags/RiHO4e0Ju3DS"
Title of the tag
"Logo"
Boards of the tag
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"
curl --request PATCH \
--url https://api.dock.so:4000/{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"
}
]
}
}
}