tombstone_entity
Retire an entity — it leaves listings but its id keeps resolving.
async fn tombstone_entity(&self, entity_id: &str, query: &TombstoneEntityQuery) -> Result<TombstoneResult, BrainHttpError>async fn tombstone_entity(&self, request: &EntityTombstoneRequest) -> Result<EntityTombstoneResponse>Parameters
ParameterTypeRequired
entity_idstringrequiredThe entity to retire.
reasonstringoptionalRecorded with the tombstone.
Returns
FieldTypePresence
tombstoned_at_unix_nanos64-bit integeralwaysWhen it was retired.
Tombstoning an entity does not remove the statements and relations that point at it. Retire those separately — see tombstone_statement and tombstone_relation.
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.
Was this page helpful?