Skip to content

Undo several actions​

POST
/api/undo/batch

Undoes entries from the top of the stack, newest first, in one
transaction: all of them are undone or none are. Provide at least one
of the fields; when several are given, every limit applies.

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,
"through_id": 0,
"count": 0
}

Responses​

Batch undo result

application/json
JSON
{
"data": {
"count": 0,
"undoable_count": 0,
"redoable_count": 0
}
}

Samples​

Powered by VitePress OpenAPI