unlink
Remove a memory-to-memory edge. Removing one that is not there is a success, not an error.
async fn unlink(&self, input: &UnlinkInput) -> Result<UnlinkResult, BrainHttpError>async fn unlink(&self, request: &UnlinkRequest) -> Result<UnlinkResponse>Parameters
ParameterTypeRequired
sourcestring (wire: 64-bit integer)requiredThe memory the edge leaves.
targetstring (wire: 64-bit integer)requiredThe memory it points at.
kindEdgeKindrequiredWhich edge kind to remove. The triple is the identity — there is no edge id.
Returns
FieldTypePresence
source / target / kind—alwaysEchoed back.
removedbooleanalwaysfalse when there was no such edge. Not an error — which is what makes unlink safe to retry and safe to call speculatively.
See also
Was this page helpful?