Update a todo

PATCH/api/v1/todos/{todo_id}

Partially update a todo's fields.

Operation ID: update_todo_api_v1_todos__todo_id__patch·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

todo_idstringrequired

Request body

titlestring
descriptionstring
due_datestring · date-time
reminder_atstring · date-time
priorityTodoPrioritySchema
entity_typestring
entity_idstring

Responses

200Successful Response

successboolean
messagestring
codestring
dataUserTodoResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

404Not Found - Resource does not exist

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject