Reference / Matching and identity

Say two members are one person

merge_membersocmgr members mergePOST /v1/members/{id}/mergeWRITE

Merge two members because you know they are the same person, whether or not the matcher ever proposed them — the review queue decides the pairs the matcher found; this is for the ones it did not. It writes one pinned manual link (method "manual", confidence 1) through the same path a review decision uses, with any supplied reason on the link and audit row, and rebuilds the golden record. The reason is optional. Explicit merges have no account cap. Pinned means the matcher and imports cannot undo it; a person can, with unmerge_link, the admin scope and a reason — and that undo records that the two are not the same. Refused when somebody has already said the two are not the same person, unless override_assertion is true (the assertion is revoked, not deleted), or when either member was erased (redact_member). Naming the same member twice is a mistake and refused; two ids that already lead to one member write nothing and say alreadyMerged. With dry_run nothing is written: preview says whether the real call would be refused and why, so a person sees an earlier "not the same" before overruling it. Nothing is deleted: it is a link, listed in the member’s History.

Parameters

member_idstring (uuid)

One of the two members. A merged-away id follows to its survivor.

other_member_idstring (uuid)

The other member: the same person, by your account.

reasonstringup to 2000 chars

Optional explanation of why they are one person. When supplied, it is stored on the link and audit row.

override_assertionboolean

Somebody has said these two are not the same person, and you are overruling them. The assertion is revoked (never deleted) with any supplied reason. Without it, a standing "not the same" refuses the merge.

dry_runboolean

Write nothing. Returns preview: whether the real call would merge or be refused and why, each standing "not the same" (who, when, reason), and the account count against the matcher cap.

memberIdstring (uuid)

Alias for member_id; use either spelling.

otherMemberIdstring (uuid)

Alias for other_member_id; use either spelling.

CLI flags

--reason <text>

Optional explanation; stored on the link and audit row

--override-assertion

Overrule a standing "not the same" between them (revoked, not deleted)

Also in Matching and identity