From 44e3be703d808bf2aa9faf8c97c32b26715ea5c8 Mon Sep 17 00:00:00 2001 From: Andres Vallecilla Date: Mon, 16 Dec 2024 14:14:05 -0500 Subject: [PATCH] add: docs --- doc/service-agent-api.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/service-agent-api.md b/doc/service-agent-api.md index 16938a9..04052b2 100644 --- a/doc/service-agent-api.md +++ b/doc/service-agent-api.md @@ -166,6 +166,19 @@ Parameters: "claims": [{ "name": "claim-name", "mimeType": "mime-type", "value": "claim-value" }, ...] } ``` +#### Credential Revocation + +By sending this message, a Verifiable Credential is effectively revocated and sent to the destination connection. + +This message could be sent as a response to a Credential issuance. In such case, `connectionId` and `revocationDefinitionId` is used to identify credential details. + +```json +{ + ... + "type": "credential-revocation", + "revocationDefinitionId": "id", +} +``` #### Credential Reception