# Update Lead List Beta

> Rename or recolor a lead list.

> Documentation index: https://www.foxreach.io/docs/llms.txt lists every page of these docs. Each page is also served as Markdown: add `.md` to its URL.

`PATCH` https://api.foxreach.io/api/v1/lead-lists/{list_id}

> **Note:** **Beta.** This endpoint is new and may change.

Requires an API key with the `write` scope.

The new name is lowercased. Send only the fields to change.

## Path Parameters

- `list_id` string path required: The list id.

## Request Body

- `name` string body: 1 to 100 characters.
- `color` string body: `#RRGGBB`.

**Request example**

```bash cURL
curl -X PATCH "https://api.foxreach.io/api/v1/lead-lists/tag_abc123" \
  -H "X-API-Key: otr_your_key" \
  -H "Content-Type: application/json" \
  -d '{"name": "hot"}'
```

```python Python SDK (beta)
from foxreach import FoxReach

client = FoxReach(api_key="otr_your_key")
item = client.lead_lists.update("tag_abc123", name="hot")
```

```typescript TypeScript SDK (beta)
import { FoxReach } from "foxreach";

const client = new FoxReach({ apiKey: "otr_your_key" });
const item = await client.leadLists.update("tag_abc123", { name: "hot" });
```

**Response example**

```json
{
  "data": {
    "id": "tag_abc123",
    "name": "warm",
    "color": "#6B7280",
    "createdAt": "2026-12-04T09:00:00+00:00"
  }
}
```

## Errors

| Status | Description |
|--------|-------------|
| `401` | Missing, invalid, revoked or expired API key |
| `403` | API key does not have the required scope: `write` |
| `404` | Lead list not found |
| `409` | Another lead list already has that name |
| `422` | Invalid name or color |

## Rate Limit

- **120 requests per minute, shared by every `write` call in your workspace.** Fixed 60-second window.
- Every response includes `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset` (unix epoch seconds) and `X-RateLimit-Bucket` (`write`).
- A `429` response includes a `Retry-After` header (seconds until the bucket resets).

For client-side patterns, see [Rate Limiting](https://www.foxreach.io/docs/rate-limiting).
