tombstone_relation
Retire a relation with no replacement. There is no retract equivalent — and here is why.
async fn tombstone_relation(&self, relation_id: &str, query: &TombstoneRelationQuery) -> Result<TombstoneResult, BrainHttpError>async fn tombstone_relation(&self, request: &RelationTombstoneRequest) -> Result<RelationTombstoneResponse>Parameters
ParameterTypeRequired
relation_idstringrequiredThe relation to retire.
reasonstringoptionalRecorded with the tombstone.
Returns
FieldTypePresence
tombstoned_at_unix_nanos64-bit integeralwaysWhen it was retired.
There is no retractRelation
Statements have a retract verb because they can carry free text that an erasure request must destroy. A relation is two entity ids, a type and an interval — there is nothing to zero, so tombstoning is the whole lifecycle.
On the wire
Entity ids are UUID bytes, properties is a propertiesBlob, and evidence
is a single reference rather than an array. Every request carries a
requestId plus an optional actAs.
Was this page helpful?