Skip to content

Defer task-segment rows to tomorrow​

POST
/api/task-segments/defer

Defer All: stamps segment_deferred_at; off today's segment, back tomorrow. Not a consider. One undo entry. The caller's own open tasks only; anything else refuses the whole request (400).

Authorizations​

bearerAuth

API token created via POST /api/tokens or the db:create-token CLI command

Type
HTTP (bearer)

Request Body​

application/json
JSON
{
"ids": [
0
]
}

Responses​

Done

application/json
JSON
{
"data": {
"deferred": 0
}
}

Samples​

Powered by VitePress OpenAPI