Revoking credentials is crucial for maintaining control over issued credentials and preventing misuse in the cheqd ecosystem. To revoke credentials within the ACA-Py framework, follow these steps:
The Issuer must determine the credential that needs to be revoked by getting the list of issued credentials and the connection id.
Initiate the credential revocation process by supplying the necessary credential identifiers like the connection id and the credential exchange id.
{% swagger src="../../../.gitbook/assets/swagger.json" path="/anoncreds/revocation/revoke" method="post" %} swagger.json {% endswagger %}
{
"comment": "Revoke issued credential",
"connection_id": "<issuer--to-holder-conn-id>",
"cred_ex_id": "<issuer-cred-exchange-id>",
"notify": true,
"publish": true
}
Follow the steps to Present a Verifiable Credential to verify that the credential has been successfully revoked. The response should have verified: false
.