Credential Management
Last updated
curl -X POST http://localhost:3000/credentials \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{"credential": { ... }, "allowForeignSubject": false}'curl -H 'Authorization: Bearer <token>' \
'http://localhost:3000/credentials?network=testnet&type=UniversityDegreeCredential'curl -H 'Authorization: Bearer <token>' http://localhost:3000/credentials/<vc-id>curl -X DELETE -H 'Authorization: Bearer <token>' http://localhost:3000/credentialscurl -X DELETE -H 'Authorization: Bearer <token>' http://localhost:3000/credentials/<vc-id>