> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lacy.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Update label

> Rename a label or change its color

Update a label's name or color. Only the fields you send are changed.

### Path Parameters

**id** `integer` *required*

The label ID. Must belong to your account.

### Request Body

**name** `string`

New name (max 255 characters). Must be unique within your account.

**color** `string`

New color. One of: `gray`, `slate`, `red`, `orange`, `amber`, `green`, `teal`, `blue`, `purple`, `pink`. Send `null` to clear it.

### Response

**message** `string`

Success message

**data** `object`

**properties**

**id** `integer`

The label ID

**name** `string`

The label name

**color** `string`

The label color (or `null`)

**assistants\_count** `integer`

Number of assistants this label is applied to

```json 200 Success Response theme={null}
{
  "message": "Label updated successfully",
  "data": { "id": 3, "name": "Inbound calls", "color": "teal", "assistants_count": 7 }
}
```

```json 404 Not Found theme={null}
{ "message": "Label not found" }
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.