Create AnonCreds Credential Definition
Create Credential Definition
The request body must contain the credential_definition
object with the Issuer DID and the Schema ID created in the previous steps.
To enable revocation, the options
must contain the revocation flag, and the size of the revocation registry. Also, ensure that a Tails Server is configured for the issuer.
Create a credential definition on the connected datastore
post
/anoncreds/credential-definition
Body
credential_definitionobject
optionsobject
Responses
application/json
cURL
JavaScript
Python
HTTP
200
Request Body
Check the new Credential Definition
Retrieve an individual credential definition details
get
/anoncreds/credential-definition/{cred_def_id}
Path parameters
cred_def_idstringrequired
Credential definition identifier
Example:
did:(method):3:CL:20:tag
Responses
application/json
cURL
JavaScript
Python
HTTP
200
Last updated
Was this helpful?