Undo last action
POST
/api/undo
Reverses the most recent undoable action. The body is optional; send
session_start_id to have the returned counts cover only entries after
that id (see GET /api/undo/status) instead of all time.
Authorizations
bearerAuth
API token created via POST /api/tokens or the db:create-token CLI command
Type
HTTP (bearer)
Request Body
application/json
JSON
{
"session_start_id": 0
}
Responses
Undo result
application/json
JSON
{
"data": {
"undone_action": "string",
"description": "string",
"tasks_affected": 0,
"undoable_count": 0,
"redoable_count": 0
}
}
POST
/api/undo
