---
title: "PATCH /v1/lists/{id}"
method: PATCH
path: "/v1/lists/{id}"
---

# PATCH /v1/lists/{id}

`PATCH /v1/lists/{id}`

## Request

- Base URL: `https://api.servicegraph.co`
- URL: `https://api.servicegraph.co/v1/lists/{id}`
- Auth: HTTP bearer

Update list metadata. `sort` is the table-sort state; null clears it (manual / position order). The server does not validate `sort.key` against the active column set — clients render position order when the referenced column is missing.

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string
  - `description` string, nullable
  - `sort` object, nullable
    - `key` string, required
    - `direction` 'asc' | 'desc', required

## Response `200`

Default Response

---

[API](https://skmtc.dev/servicegraph/apis/servicegraph-api.md) · [All operations](https://skmtc.dev/servicegraph/apis/servicegraph-api/llms.txt) · [OpenAPI document](https://skmtc.dev/servicegraph/apis/servicegraph-api/revisions/f2f2f945c796?raw)
