/todos/{todoId}
Replaces the todo’s name, description, and dueDate. Omitting dueDate clears it. Optionally toggles completed; the server sets completedAt to the update time when the todo flips to complete and clears it when it flips back to incomplete. Bumps updatedAt to the update time.
Path Parameters
The todo id.
Body
application/json
Body
TodoUpdateRequest
The todo name.
>= 1 characters<= 256 characters
The todo description.
<= 2000 characters
When the todo is due. Optional; omitting it clears the due date.
Whether the todo has been completed. Optional; omitting it leaves the completion state unchanged.
Response
application/json
Response
The updated todo
Todo
The todo id.
The todo name.
>= 1 characters<= 256 characters
The todo description.
<= 2000 characters
When the todo is due, or null when it has no due date.
Whether the todo has been completed.
When the todo was created. This is the billable event.
When the todo was last updated.
When the todo was completed, or null while it is incomplete.
Authentication
Path Parameters
Body
/todos/{todoId}
Deletes the todo. Deleting a todo is not billable and does not remove previously recorded usage.
Path Parameters
The todo id.
Response
Response
The todo was deleted
Authentication
Path Parameters
Todo
objectThe todo id.
The todo name.
>= 1 characters<= 256 characters
The todo description.
<= 2000 characters
When the todo is due, or null when it has no due date.
Whether the todo has been completed.
When the todo was created. This is the billable event.
When the todo was last updated.
When the todo was completed, or null while it is incomplete.
TodoRequest
objectThe todo name.
>= 1 characters<= 256 characters
The todo description.
<= 2000 characters
When the todo is due. Optional; omit or send null for no due date.
TodoUpdateRequest
objectThe todo name.
>= 1 characters<= 256 characters
The todo description.
<= 2000 characters
When the todo is due. Optional; omitting it clears the due date.
Whether the todo has been completed. Optional; omitting it leaves the completion state unchanged.