event_remove_parent
Detach a child event from its parent when the link no longer applies, using the child or parent Account as basis. Missing links return NOT_FOUND.
Instructions
Remove the link "child is part of parent", grounded on Accounts of the child or of the parent. Removing a link that does not exist fails with NOT_FOUND. Returns {eventId, version, parents} for the child.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | Yes | Who is writing: your own identity, e.g. {"kind": "agent", "id": "laptop"}. Never the owner or another writer. | |
| childEventId | Yes | An Event id from the directory or a receipt. | |
| parentEventId | Yes | An Event id from the directory or a receipt. | |
| expectedVersion | No | The child's version. | |
| sourceAccountIds | Yes | At least one Account of the child or of the parent that the link rests on. |