Skip to main content
PATCH
Reindent Todo

Authorizations

Authorization
string
header
required

A personal access token (haico_pat_...), created under Profile → API keys. Send it as Authorization: Bearer <key>. The browser session JWT is also accepted but is an internal mechanism and is not part of the public contract.

Path Parameters

thread_id
string
required
Minimum string length: 1
todo_id
integer
required
Required range: x >= 1

Body

application/json

Payload for indenting/outdenting a todo (changing its nesting level).

delta
integer
required

Response

Successful Response

id
integer
required
thread_id
string
required
text
string
required
done
boolean
required
position
integer
required
depth
integer
default:0