Brain Docs

Reference

Rust SDKInstallationHTTP clientWire client
create_statementget_statementlist_statementssupersede_statementtombstone_statementretract_statementstatement_history
ErrorsRetriesPagination
Brain/Docs
✦ ASKBrain on GitHubDashboard
Rust SDKStatementstombstone_statement

tombstone_statement

Mark a claim not-current with no replacement — this was never true.

PURPOSE

Retire a statement with no replacement. The record stays. Use it when the claim was wrong, rather than outdated — an outdated claim should be superseded.

DELETE/v1/statements/:idBearer API keystable
async fn tombstone_statement(&self, statement_id: &str, query: &RetireStatementQuery) -> Result<TombstoneResult, BrainHttpError>
Handshake credentialstable
async fn tombstone_statement(&self, request: &StatementReasonRequest) -> Result<StatementTombstoneResponse>

Parameters

ParameterTypeRequired
statement_idstringrequired

The statement to retire.

reasonintegeroptional

A reason code. On the wire, part of the shared StatementReasonRequest.

messagestringoptional

A free-text note. The wire field is reasonMessage.

Returns

FieldTypePresence
tombstoned_at_unix_nanos64-bit integeralways

When it was retired.

Tombstoning keeps the stored text. To have the bytes zeroed as well, use retract_statement.

On the wire

subject is UUID bytes and kind is an integer discriminant rather than a string. evidence is a single reference, not an array of ids. Every request carries a requestId plus an optional actAs.

See also
retract_statementsupersede_statement

Was this page helpful?

supersede_statement

Correct a claim by writing its replacement — the old version stays readable and the chain records the order.

retract_statement

Tombstone a claim and schedule its bytes to be zeroed — and read the deadline it returns.

On this page

ParametersReturnsOn the wire
Suggest an editOpen in Playground