Skip to main content
POST
Revokes one claim slot on the registry and removes the ledger row that recorded which proof backed it. Use it when a proved fact stops being true.

Body Parameters

string
required
The subject.
string | integer
required
The slot to revoke, as a name or an index from 0 to 7.
string
Send it to confirm the revocation. Omit it to receive the calldata.

Response Fields

object
This revokes on the registry, which is a different act from the revocation the proof tool records. npm run revoke in the tool writes a signed entry into your own append-only registry, distinguishing a claim that lapsed from one that was never valid. Doing that keeps your record straight; doing this stops a token contract acting on the claim. A real revocation usually wants both.

Error Codes