Skip to main content
PUT

Update Label

Updates an existing label with new name or color information.

Request

integer
required
The ID of the label to update
string
required
The name of the label
string
required
Hex color code for the label (e.g., “#ff0000” for red)

Response

integer
Unique identifier for the updated label
string
The updated name of the label
string
The updated hex color code of the label
object
Information about the label’s workspace
string
Creation timestamp in workspace timezone
string
Last update timestamp in workspace timezone

Code Examples

Error Codes

Bad Request
Validation errors or invalid parameters
Unauthorized
Missing or invalid API token
Forbidden
Token does not have ‘labels’ permission
Not Found
Label not found or user does not have access to the label’s workspace
Unprocessable Entity
Validation errors in request data