Developers
API ReferenceTo Do Item

Update ToDo

PATCH
/user/to-do-items/{id}

Update ToDo

Authorization<token>

Value for the Authorization header parameter.

In: header

Path Parameters

id*string

ToDoItem identifier

Request Body

The updated ToDoItem resource

TypeScript Definitions

Use the request body type in TypeScript.

name?string
Length1 <= length <= 100
isChecked?boolean

Response Body

curl -X PATCH "https://example.com/user/to-do-items/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "weight": 0,  "name": "string",  "isChecked": true,  "checkedAt": "2019-08-24T14:15:22Z"}