tombstoneEntity
Retire an entity — it leaves listings but its id keeps resolving.
tombstoneEntity(entityId: string, query?: TombstoneEntityQuery): Promise<TombstoneResult>tombstoneEntity(request: EntityTombstoneRequest): Promise<EntityTombstoneResponse>Parameters
ParameterTypeRequired
entityIdstringrequiredThe entity to retire.
reasonstringoptionalRecorded with the tombstone.
Returns
FieldTypePresence
tombstonedAtUnixNanos64-bit integeralwaysWhen it was retired.
Tombstoning an entity does not remove the statements and relations that point at it. Retire those separately — see tombstoneStatement and tombstoneRelation.
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?