VC Revocation
A credential issuer can revoke any of her issued VCs with vc_revoke operation by specifying the CID (<cid>) of the revoked VC.
vc_revoke
DELETE https://test-network.finema.co/vc/<cid>
Request Body
Name
Type
Description
operation
string
The method's name that is "add_key".
did_address
string
The DID address.
current_key
string
The current public key in the series. It is used to verify the request's signature.
next_key_hash
string
The SHA-256 hash of the next public key in the series.
cid
string
The CID of the revoked VC.
nonce
number
The request nonce.
{
"operation": "vc_revoke",
"did_address": "did:idin:afb7ba88c76edbda55c344b70ae0cf0556d770ec256820d7185000de395391b5",
"cid": "c118304cfcc011eaaca30242c0a83005"
}{
"errors": [
{
"status": 422,
"title": "Invalid Attribute",
"detail": "the server cannot process the request",
}
]
}Example Message and Request
The above message can then be encoded in Base64 and signed with ECDSA to obtain the following HTTP request
Last updated
Was this helpful?