Reference / Matching and identity

Reverse a bulk action

undo_bulk_actionocmgr audit undoPOST /v1/audit-groups/{id}/undoADMIN

Reverse a bulk undo or review batch by its groupId. Revokes that action’s “not the same person” assertions and reverses its link changes, skipping links already changed since. Assertion revocations record the actor, reason and affected IDs; reversing them creates new assertions under the returned group, preserving history. Restoring assertions is refused if their accounts are now merged or erased. The reversal is itself one named action that can be reversed in turn.

Parameters

group_idstring (uuid)REQUIRED

The groupId a bulk undo, review batch or reversal returned. Every audit row of that action carries it, so list_audit shows it too.

reasonstring

Why the batch is being reversed. Stored on every row this writes.

allow_relinkboolean

When reversing added merges, omit new not-same assertions for separated pairs. Explicit assertion revocations in the group are still reversed.

CLI flags

--reason <text>

Why the batch is being reversed; stored on every row this writes

--allow-relink

Only when reversing an action that added merges: leave the pairs open rather than recording that they are not the same people

Also in Matching and identity