Appearance
Revocation Service
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.
API Reference
See https://api.godiddy.com/#tag/Revocation-Service.
Revoke VC
When revoking a VC, the input is a credential, plus options.
Revoke a VC
The following request will revoke a Verifiable Credential.
bash
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": {}
}'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44