---
title: "Toggle todo done status"
method: PATCH
path: "/todos/toggle/status/{todoId}"
tags: ["📝 Todo list"]
---

# Toggle todo done status

`PATCH /todos/toggle/status/{todoId}`

The API endpoint is responsible for toggling the done status of a todo item.

When accessing this endpoint and providing the necessary data, you can update the completion status of a specific todo item, marking it as either done or undone based on its current status.

## Response `200`

Toggle todo done status

- object
  - `data` object
    - `__v` number
    - `_id` string
    - `createdAt` string
    - `description` string
    - `isComplete` boolean
    - `title` string
    - `updatedAt` string
  - `message` string
  - `statusCode` number
  - `success` boolean

---

[API](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi.md) · [All operations](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hiteshchoudhary-ssesph/freeapi/versions/a9f3a290e4dc/schema)
