undo
Revert a logged change by entry ID, batch, or most recent; restores calendar and reminder edits, and stops safely if a later change conflicts.
Instructions
Undo a logged change. entry_id: an id from activity_log; batch: undo every change of one bulk operation (newest first); neither: undo the most recent undoable change by anyone. Calendar changes are restored exactly (create, edit and delete). Reminder edits restore the title, notes, due, priority, flag, completion, repeat, tags, links, alarms, list and parent; early-reminder and Urgent settings are not restored. If something changed since, the undo stops with a clear error and leaves the log entry undoable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch | No | ||
| entry_id | No |