---
title: "Update list"
method: PATCH
path: "/lists/{artifactId}"
tags: ["lists"]
---

# Update list

`PATCH /lists/{artifactId}`

## Request

- Base URL: `https://www.dench.com/api/v1`
- URL: `https://www.dench.com/api/v1/lists/{artifactId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Update a saved list in place (title, filters, and/or replacement rows).

## Path parameters

- `artifactId` string, required: The existing list id.

## Request body

- object
  - `title` string
  - `filters` unknown
  - `people` object[]: Replacement people. Omit to preserve existing rows; an empty array clears them.
  - `companies` object[]: Replacement companies. Omit to preserve existing rows.
  - `jobs` object[]: Replacement jobs. Omit to preserve existing rows.

## Response `200`

Successful response

- object
  - `artifactId` string, required
  - `rowCount` number, required
  - `previewRows` unknown[], required
    - unknown
  - `title` string, required

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid authentication
- `404`: Operation or resource not found
- `500`: Server error

---

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