Revocation Status
Last updated
Last updated
Credentials can be revoked or unrevoked, and as such they contain a revocation status so that verifiers/issuers can check if the credential is still valid. Once a revocation registry has been created and credentials issued with it, you can check the revocation status. Verifiers will do this automatically.
To check if an id is revoked or not, you can check its status with the registry id (regId
) and revocation id (revId
).
Name | In | Type | Required | Description |
---|---|---|---|---|
Status | Meaning | Description | Schema |
---|---|---|---|
The accumulator witness is utilized by the holder to generate a proof, which combines the witness with their revocation id associated with the credential id (revId
) and the accumulator associated with the registry id (regId
), allowing the verifier to validate the credential's status without directly accessing the revocation id on the blockchain.
Name | In | Type | Required | Description |
---|---|---|---|---|
Status | Meaning | Description | Schema |
---|---|---|---|
regId
path
true
Revocation registry id.
revId
path
true
Credential revocation id.
200
The request was successful and will return true, if the credential is revoked, false otherwise.
Inline
404
The request was unsuccessful, because the registry was not found.
402
Transaction limit reached or upgrade required to proceed
400
The request was unsuccessful, because you have not revoked or unrevoked the registered credential yet. Please try to revoke/unrevoke the registered credential and try again.
regId
path
true
Revocation registry id.
revId
path
true
Credential revocation id.
200
The request was successful and will return the membership witness.
Inline
404
The request was unsuccessful, because the registry was not found.
402
Transaction limit reached or upgrade required to proceed
400
The request was unsuccessful, because you have not revoked or unrevoked the registered credential yet. Please try to revoke/unrevoke the registered credential and try again.