Get Revocation Status of a Credential #
The get revocation status endpoint returns the revocation status for a provided credentialId
referencing a previously issued credential with the EthrRevocationRegistry
revocation method.
The revocation status can be either true
or false
which also allows issuers to unrevoke previously revoked credentials.
Request #
Method #
credentialId
UsagePlease use the
id
inside of the credential (e.g.:urn:uuid:a3a15c09-71de-40c8-a8c3-4c0435ffe3cb
).
Request method | Endpoint |
---|---|
GET | /api/v1/revocation/credential/:credentialId/status |
Headers #
Authentication
Please see Using a Token for a detailed description of how to authenticate yourself with our API.
Name | Value |
---|---|
Content-Type | application/json |
Authorization | Bearer [token] |
Response #
Key | Description | Type |
---|---|---|
revoked | Revocation status of the credential for the requested credentialId | boolean |
Examples #
Example response body
{
"revoked" : false
}