Change Revocation Status of a Credential #
The change revocation status endpoint changes 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 |
---|---|
POST | /api/v1/revocation/credential/:credentialId/changeStatus |
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] |
Body #
Key | Description | Type | Required |
---|---|---|---|
revoked | New revocation status of the credential for the requested credentialId. Hint: Already revoked credentials can be unrevoked. | boolean | ✅ |