---
title: "Update a checklist"
method: PATCH
path: "/v1/checklists/{id}"
tags: ["Checklists"]
---

# Update a checklist

`PATCH /v1/checklists/{id}`

## Request

- Base URL: `https://api.lunary.ai`
- URL: `https://api.lunary.ai/v1/checklists/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/lunary/apis/lunary-api/docs/v1/checklists/:id/patch.ts> (a function with typed inputs; its response is checked against the schema)

Update an existing checklist's slug and/or data.

## Path parameters

- `id` string, uuid, required

## Request body

- ChecklistUpdateInput
  - `slug` string: Updated slug for the checklist
  - `data` object: Updated checklist data

## Response `200`

Successful response

- Checklist
  - `id` string, uuid
  - `slug` string
  - `type` string
  - `data` object: The checklist data
  - `projectId` string, uuid
  - `ownerId` string, uuid
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

## Other responses

- `400`: Invalid input
- `404`: Checklist not found

---

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