unmerge_entity
Reverse a merge inside its grace period — addressed by the merged id, not the survivor's.
unmerge_entity(merged_entity_id: str) -> UnmergeEntityResultunmerge_entity(request: EntityUnmergeRequest) -> EntityUnmergeResponseParameters
ParameterTypeRequired
merged_entity_idstringrequiredThe merged entity's id — not the survivor's. On the wire the field is mergedEntity.
Returns
FieldTypePresence
restored_entity_idstringalwaysThe entity that was brought back.
Two ways to get this wrong
Passing the survivor's id does not reverse the merge — the verb is
addressed by the entity that was folded in. And outside the grace period the
call fails: there is no late undo, so record gracePeriodSeconds from the
merge and act within it.
On the wire
Ids are fixed-width UUID bytes rather than strings, attributes is an opaque
attributesBlob, and every request carries a requestId plus an optional
actAs. See Wire client.
See also
Was this page helpful?