The Revocation Service can revoke Verifiable Credentials issued by the Universal Issuer API. A Verifiable Credential can only be revoked if it was issued with status list support. After revocation, Verifiable Credentials are not considered valid anymore.
The Revocation Service supports a single API endpoint that can be used to change the status of a Verifiable Credential.
See https://api.godiddy.com/#tag/Revocation-Service
When revoking a VC, the input is a credential plus options.
The following request will revoke a Verifiable Credential.
curl -H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0" \
-X POST "https://api.godiddy.com/1.0.0/revocation-service/revocation/revoke?credentialFormat=jsonld" \
-H "Content-Type: application/json" \
-d '{
"credential": {
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://essif.europa.eu/schemas/vc/2020/v1",
"https://w3id.org/vc/status-list/2021/v1",
"https://w3id.org/security/suites/ed25519-2020/v1"
],
"type": [
"VerifiableCredential",
"VerifiableAttestation",
"DiplomaCredential"
],
"issuer": "did:key:z6Mkko2t5LMq1c5GXojuNLxHic244yELDY4MRG8ktdNEcPn5",
"credentialSubject": {
"type": "Student",
"id": "did:key:z6MkqyYXcBQZ5hZ9BFHBiVnmrZ1C1HCpesgZQoTdgjLdU6Ah",
"studyProgram": "Master Studies in Computer Science",
"learningAchievement": "Master of Science",
"dateOfAchievement": "2021-03-18T00:00:00.000Z",
"eqfLevel": "http://data.europa.eu/snb/eqf/7",
"targetFrameworkName": "European Qualifications Framework for lifelong learning - (2008/C 111/01)"
},
"issuanceDate": "2024-12-17T16:07:09Z",
"credentialStatus": {
"type": "StatusList2021Entry",
"id": "https://statuslist.godiddy.com/0b453ef3-07e9-48a7-9eab-330b24789aa0.json#33163",
"statusListIndex": "33163",
"statusListCredential": "https://statuslist.godiddy.com/0b453ef3-07e9-48a7-9eab-330b24789aa0.json",
"statusPurpose": "revocation"
},
"proof": {
"type": "Ed25519Signature2020",
"created": "2024-12-17T16:07:09Z",
"proofPurpose": "assertionMethod",
"verificationMethod": "did:key:z6Mkko2t5LMq1c5GXojuNLxHic244yELDY4MRG8ktdNEcPn5#z6Mkko2t5LMq1c5GXojuNLxHic244yELDY4MRG8ktdNEcPn5",
"proofValue": "z2u96SmnjVkaPA4otFjWhhbgsyTh6uj956TPKNwdkH1BtqpCYAVrtWyVP6tzMpjLg6ZR4p9wdicR6wP3s6DSce8c7"
}
},
"options": {}
}'