Remove a task from the TODO list

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://bump.sh/bump-examples/hub/code-samples/doc/to-do-list/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"To do list MCP server": {
  "url": "https://bump.sh/bump-examples/hub/code-samples/doc/to-do-list/mcp"
}
Close
DELETE /tasks/{taskId}

Permanently removes a task from the TODO list. If a task was completed, use PUT /tasks/{taskId} to update its status to 'completed'

Path parameters

  • taskId integer Required

    The ID of the task to operate on

Responses

  • 204

    Task deleted successfully

  • 404

    Task not found by the ID provided

DELETE /tasks/{taskId}
curl \
 --request DELETE 'https://api.todolist.local/v1/tasks/3' \
 --header "Authorization: Bearer $ACCESS_TOKEN"