Comment on page
How to Revoke Certificates
The API uses a “beneficiary ID/pre-enrolment code” and the “registration number” as input parameters to search and fetch the certificate(s) that need to be revoked from the certificate registry. The revocation certificate does not contain the end date.

- Request URL: {{baseUrl}}/vc-certification/v1/certificate/revoke
- Request method: POST
{
"certificateId": "843575011372",
"entityName": "HealthProfessional_1"
}
{
"message": "Certificate Revoked",
"certificateRevokeResponse": {
"id": "sunbird-rc.registry.create",
"ver": "1.0",
"ets": 1674811937256,
"params": {
"resmsgid": "",
"msgid": "3d2a200b-3397-4935-b8ef-6092f467abef",
"err": "",
"status": "SUCCESSFUL",
"errmsg": ""
},
"responseCode": "OK",
"result": {
"RevokedVC": {
"osid": "1-888a147b-60b0-467c-8aa0-233b80d121ba"
}
}
}
}

- Request method: Delete
- Request URL: {{baseUrl}}/vc-certification/v1/certificate/revoke/entityName/certificateId
- SampleURL: {{baseUrl}}/vc- certification/v1/certificate/revoke/HealthProfessional71/961266078942
- Authorisation needed
{
"message": "Delete revoked certificate request sent successfully"
}
All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.

Last modified 7mo ago