Revoke a Verifiable Credential
Revoke an AnonCreds Verifiable Credential, signed by a did:cheqd Decentralized Identifier (DID), using ACA-Py.
Step 1: Issuer identifies Credential to be revoked
Step 2: Revoke Credential
Body
commentstringOptional
Optional comment to include in revocation notification
connection_idstringOptionalExample:
Connection ID to which the revocation notification will be sent; required if notify is true
3fa85f64-5717-4562-b3fc-2c963f66afa6Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}cred_ex_idstringOptionalExample:
Credential exchange identifier
3fa85f64-5717-4562-b3fc-2c963f66afa6Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}cred_rev_idstringOptionalExample:
Credential revocation identifier
12345Pattern: ^[1-9][0-9]*$notifybooleanOptional
Send a notification to the credential recipient
notify_versionstring · enumOptionalPossible values:
Specify which version of the revocation notification should be sent
publishbooleanOptional
(True) publish revocation to ledger immediately, or (default, False) mark it pending
rev_reg_idstringOptionalExample:
Revocation registry identifier
did:(method):4:did:<method>:3:CL:20:tag:CL_ACCUM:0Pattern: ^(.+$)thread_idstringOptional
Thread ID of the credential exchange message thread resulting in the credential now being revoked; required if notify is true
Responses
200Success
application/json
Responseobject
post
/anoncreds/revocation/revoke200Success
Sample Request Body
Step 3: Verify Revocation
Last updated
Was this helpful?