Skip to main content
POST
Revokes one claim slot on the registry. It works on any slot, including the four filled from proofs.
The confirm leg does not check which slot was revoked, and claimType in the answer echoes your request. On the Trusset register it checks that a revokeClaim for this wallet was mined on this instance’s register. On an ERC-3643 register any mined revokeClaimBySignature, or a removeClaim on this wallet’s ONCHAINID, is accepted.
For a proof-backed claim, prefer Revoke Proof. It does the same revocation and two things more. It checks the slot on the Trusset register, and deletes the ledger row that recorded which proof backed the slot. Both endpoints record the revocation once in your instance’s verification history as a REVOKE_CLAIM entry.

Body Parameters

string
required
The subject.
string | integer
required
The slot to revoke, as a name or an integer index from 0 to 7.
string
Send it to confirm. Omit it to receive the calldata.
string
ERC-3643 register only. The instance wallet you will send the revocation from, echoed back as signerAddress.

Sign and confirm

On the Trusset register the calldata calls revokeClaim on the register, which needs a wallet holding KYC_PROVIDER_ROLE. Any holder of that role can revoke any slot, whoever filed it. The API checks that one of your instance’s wallets holds the role, and refuses with KYC_PROVIDER_ROLE_MISSING otherwise. On the Trusset ID Register it also refuses with IDENTITY_HELD_BY_ANOTHER_ISSUER when the wallet’s identity was registered by a wallet that is not one of your instance’s, and the confirm leg requires a transaction signed by a verified wallet of your instance (UNAUTHORIZED_SIGNER). The register reverts the call when the slot holds no active claim. On an ERC-3643 register the calldata calls revokeClaimBySignature on the trusted issuer that signed the claim. The claim stays on the ONCHAINID, and List Claims stops returning it once the issuer reports it invalid. A slot with no claim is refused up front with CLAIM_NOT_FOUND, and the role check becomes an agent check on the register. The confirm leg does not check who signed.

Response Fields

object

Error Codes