> ## 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 folder

> Rename a folder or change its color

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

### Path Parameters

**id** `integer` *required*

The folder 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 folder ID

**name** `string`

The folder name

**color** `string`

The folder color (or `null`)

**assistants\_count** `integer`

Number of assistants in this folder

```json 200 Success Response theme={null}
{
  "message": "Folder updated successfully",
  "data": { "id": 12, "name": "Acme Inc.", "color": "pink", "assistants_count": 4 }
}
```

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


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