Undo a deletion
undo_deletionRestore data deleted earlier. id is a rcv_… handle from list_recent_deletions.
Call it once WITHOUT confirm to read what would come back: the response carries impact
(how many rows, by model) and blocked_reason. A deletion often cascades well beyond the
object that was named — removing a group also removed its events. State that number to the
user, get an explicit yes, then call again with confirm=true.
Never infer the target: undo only the entry the user pointed at. Never undo an entry whose
blocked_reason is non-empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||