PATCH /v1/labels/{labelId}
Partially update a label with a JSON request body.
PATCH /v1/labels/{labelId} updates an existing label.
Authentication
Send an organization API key in x-api-key or
Authorization: Bearer <key>.
Path Parameters
| Name | Type | Description |
|---|---|---|
labelId | string (uuid) | UUID of the label to update. |
Request Body
Send a JSON object containing the fields you want to change.
| Name | Type | Description |
|---|---|---|
name | string | Label name, from 1 to 100 characters. |
color | string | Label color, from 1 to 50 characters. |
description | string | Label description, up to 500 characters. |
Example
curl -X PATCH "https://api.blueputto.com/v1/labels/LABEL_ID" \
-H "x-api-key: YOUR_API_KEY" \
-H "content-type: application/json" \
-d '{"name":"Ready for review"}'Success Response
200 OK
{
"data": {}
}Error Responses
400 Bad Request401 Unauthorized404 Not Found429 Too Many Requests