Creates a new AnonCreds credentialDefinition and registers the credentialDefinition in the AnonCreds registry
Headers
Optional header to set the context to a specific tenant. Only needed when the --multi-tenant feature is enabled. Default value is 'default'
Request body
Example request
{
"credentialDefinition": {
"issuerId": "did:indy:bcovrin:test:WgWxqztrNooG92RXvxSTWv",
"schemaId": "did:indy:bcovrin:test:WgWxqztrNooG92RXvxSTWv/anoncreds/v0/SCHEMA/schema-name/1.0",
"tag": "definition"
},
"options": {
"supportRevocation": true
}
}Response
Ok
Changes
Changed in 2 of the 3 revisions of this API.13
- ○
the endpoint scheme security
tenantswas removed from the APIapi-security-removed
- ○
added the new optional
headerrequest parameterx-tenant-idnew-optional-request-parameter
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
deleted the
headerrequest parameterx-tenant-idrequest-parameter-removed
- ○
the endpoint scheme security
tenantswas added to the APIapi-security-added
This revision also has 145 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●