Revoke a Credential
To revoke an existing VC (Verifiable Credential) or an entity, we need to make the following HTTP request
Last updated
To revoke an existing VC (Verifiable Credential) or an entity, we need to make the following HTTP request
Last updated
Copyright (c) 2023 EkStep Foundation under MIT License
POST
/api/v1/{entity-type}/{id}/revoke
The API revokes a verifiable credential by updating the signature data attached to it. This is done by updating the _osSignedData field in the corresponding entity table to an Empty String. and storing the signedData in the RevokedCredential Registry.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
{registry-url}
is usually http://localhost:{port}. The port can be found under theregistry
section in thedocker-compose.yml
file and is usually8081
.
entity-type*
String
Type of entity to update
id*
String
id of the entity to revoke
authorization
String
Set to Bearer {access-token}
if roles in Schema is not anonymous. Else token can be empty
content-type*
String
Set to application/json
String