Appearance
did:ebsi
Execute
This page explains the execute()
operation with the did:ebsi
method. See https://identity.foundation/did-registration/#execute for more information about the protocol.
execute()
operation: issueOnboardingVC
Request
bash
curl -H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0" \
-X POST "https://api.godiddy.com/1.0.0/universal-registrar/execute?method=ebsi" \
-H "Content-Type: application/json" \
-d '{
"operation": ["issueOnboardingVC"],
"operationData": [{}],
"did": "did:ebsi:zjUnExsyyweQ9p4cy3nvrVc",
"secret": {},
"options": {}
}'
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
Response
json
{
"didState": {
"state": "finished"
},
"operationResult": [
{
"VerifiableAuthorisationToOnboard": "eyJhbGc..."
}
]
}
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
operation: inviteForTrustRole
Request
bash
curl -H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0" \
-X POST "https://api.godiddy.com/1.0.0/universal-registrar/execute?method=ebsi" \
-H "Content-Type: application/json" \
-d '{
"operation": ["inviteForTrustRole"],
"operationData": [{
"trustRoleDid":"did:ebsi:zxiEnXSv143oUPQ8JypTPw5",
"trustRoleType":"TI"
}],
"did": "did:ebsi:zjUnExsyyweQ9p4cy3nvrVc",
"secret": {},
"options": {}
}'
1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
Response
json
{
"didState": {
"state": "finished"
},
"operationResult": [{
"VerifiableAccreditationToAttest": "eyJhbGc..."
}],
"didDocumentMetadata": {
...
}
}
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
operation: acceptTrustRole
Request
bash
curl -H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0" \
-X POST "https://api.godiddy.com/1.0.0/universal-registrar/execute?method=ebsi" \
-H "Content-Type: application/json" \
-d '{
"operation": ["acceptTrustRole"],
"operationData": [{}],
"did": "did:ebsi:zxiEnXSv143oUPQ8JypTPw5",
"secret": {
"VerifiableAccreditationToAccredit": "eyJhbGc..."
},
"options": {}
}'
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
Response
json
{
"didState": {
"state": "finished"
},
"operationResult": [{}],
"didDocumentMetadata": {
...
}
}
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9