### PATCH /api/v4/lists/{id}

**Update a list** (`update_list`). Rename a list or change its description.

1¢ per successful request. API key required. Success: `200`. Accepts `Idempotency-Key`.

#### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | yes | List UUID. |

#### Body

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string |  |  |
| `description` | string \| null |  |  |

#### Response

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | object | yes | The result. |
| `data.id` | string | yes | UUID. |
| `data.name` | string | yes |  |
| `data.description` | string \| null | yes |  |
| `data.is_default` | boolean | yes |  |
| `data.item_count` | integer \| null | yes |  |
| `data.created_at` | string \| null | yes |  |
| `data.updated_at` | string \| null | yes |  |
| `meta.request_id` | string | yes | Request id (also in X-Request-Id). |
| `meta.cost_usd_cents` | number | yes | Charged for this request, in USD cents. |

#### Errors

| Status | Code | Meaning |
| --- | --- | --- |
| 400 | `VALIDATION_FAILED` | The request does not match the endpoint contract. |
| 401 | `UNAUTHORIZED` | The API key is missing, invalid or revoked. |
| 402 | `INSUFFICIENT_FUNDS` | The account balance cannot cover this request or job. |
| 404 | `NOT_FOUND` | The record or resource does not exist for this account. |
| 409 | `IDEMPOTENCY_MISMATCH` | This Idempotency-Key was already used with a different request. |
| 409 | `IDEMPOTENCY_IN_PROGRESS` | A request with this Idempotency-Key is still running. |
| 409 | `CONFLICT` | The resource changed concurrently or already exists. |
| 429 | `RATE_LIMITED` | Too many requests in the current window. |
| 500 | `INTERNAL_ERROR` | An unexpected server error. |
| 503 | `SERVICE_UNAVAILABLE` | A dependency is temporarily unavailable. |

#### Example

```bash

curl -X PATCH 'https://startup-seeker.com/api/v4/lists/11111111-1111-4111-8111-111111111111' \
  -H "Authorization: Bearer $STARTUPSEEKER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Berlin fintech 2026"
  }' \
  -H "Idempotency-Key: $(uuidgen)"

```