Undo End-User Merge
unmerge_end_usersRevert an end-user merge by restoring original foreign key references and unarchiving sources. Corrects accidental merges using the merge event ID from list_identity_merges.
Instructions
Undo a previous end-user merge: reads the merge ledger and re-points every FK row (events, insights, tasks, …) back to its original end-user, un-tombstoning the folded-in sources. Safe to retry — a second undo of the same merge changes nothing (it fails with already_reverted). Use to correct a wrong identity merge (merges stay reversible for 30 days). Find the event_id with list_identity_merges (pick an un-reverted merge); event_id is required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_id | Yes | Id of the merge event to undo, from list_identity_merges. |