Skip to main content

Update a label

Updates the specified label by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

Parameters

title
string
Title of the label.
hex_color
string
Color of the label, in hexadecimal format (e.g., #FF00FF).

Returns

Returns the label object if the update succeeded. Throws an error if update parameters are invalid.

put
/api/boards/{id}/labels/{id}
curl -X PUT https://{workspace}.kitchen.co/api/boards/{id}/labels/{id} \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Requested-With: XMLHttpRequest' \
-H 'Authorization: Bearer {API_KEY}'
Response
{
"id": "lbl_5b521cf4562a5ba739fc72a8",
"color": "#f9d0d9",
"title": null,
"createdAt": "2025-06-16T11:25:31+00:00",
"updatedAt": "2025-06-16T11:25:31+00:00"
}