---
title: "Changes the state of the specified list items"
method: PUT
path: "/lists/{listId}/items/state/{state}"
tags: ["Items"]
---

# Changes the state of the specified list items

`PUT /lists/{listId}/items/state/{state}`

## Path parameters

- `listId` string, required
- `state` 'todo' | 'inprogress' | 'done', required

## Request body

- string[]

## Response `204`

Todo items updated

## Other responses

- `400` — Update request is invalid

---

[API](https://skmtc.dev/azure/apis/simple-todo-api.md) · [All operations](https://skmtc.dev/azure/apis/simple-todo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/simple-todo-api/revisions/3276bd2e08f8/schema)
