Revoke Accreditation
The following steps will define how to revoke a Verifiable Accreditation as a RTAO or TAO.
Step 1 Obtain issuers-registry:write access token from the Authorisation Service to write to the Issuers Registry
To request a issuers-registry:write access token, you need to present proof of ownership of your Verifiable Authorisation for Trust Chain to the Authorisation Service with the openid issuers-registry:write scope.
Follow this sequence of API calls to request a issuers-registry:write access token:
- GET DCQL query: Begin by fetching the DCQL query for the
issuers-registry:writescope. - POST Token Endpoint: Create and submit a presentation according to the fetched DCQL query.
For further details, please consult our Access Control guide.
Step 2 Register the revocation in the Issuers Registry
Revocation of a Verifiable Accreditation will be done through the Issuers Registry by the RTAO/TAO who originally invited the Legal Entity.
The RTAO/TAO must set the issuerType to revoked to revoke an existing Verifiable Accreditation or the invitation.
Verifiable Accreditations must contain credentialStatus with type EbsiAccreditation, where validity is determined by the smart contract.
Use the following endpoint to modify the attribute metadata using the setAttributeMetadata method:
Ledger Service — eth_sendRawTransaction — Issuers Registry's setAttributeMetadata method