Revoke a previously-anchored ZK proof

View as Markdown

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

OR
X-API-Keystring
API Key authentication via header

Path parameters

idstringRequired

Request

This endpoint expects an object.
reasonstringOptional
syncWaitMsintegerOptional>=0

Response

OK
proofIdstring
statusenum

Lifecycle state of an on-chain ZK proof anchor row.

Allowed values:
submittedAtdatetime
proofHashstringformat: "^0x[0-9a-fA-F]{64}$"
predicateHashstringformat: "^0x[0-9a-fA-F]{64}$"
submitterDidstring
holderDidstring or null
credentialIdstring
txHashstring or nullformat: "^0x[0-9a-fA-F]{64}$"
blockNumberlong or null>=0
confirmedAtdatetime or null
revokedAtdatetime or null
revokedBlocklong or null
failureReasonstring or null
lagBlocksinteger>=0

Errors

403
Forbidden Error
404
Not Found Error
409
Conflict Error
501
Not Implemented Error