Function name |
revokeCredential(RevokeCredential cred) |
Description |
Called by the issuer to revoke or void a credential that has been issued. Since the issued credential is already in the custody of the user, the revocation of the credential is followed by the upload of its credential ID. |
Request Parameters |
No. |
Parameter |
Type |
Required |
Description |
1 |
|
RevokeCredential |
Y |
|
RevokeCredential |
1 |
credId |
String |
Y |
Credential ID |
2 |
cptId |
Long |
Y |
Credential template Id |
3 |
did |
String |
Y |
DID |
4 |
privateKey |
String |
Y |
Private key |
Response Parameters |
No. |
Parameter |
Type |
Required |
Description |
1 |
|
Boolean |
Y |
Return true if success, return false if failure |