Skip to main content
Version: v0.3.1

Import credential

POST 

/api/management/credentials/import

Import a credential issued by an external credential issuer

Request

Body

required
    @contextstring[]required
    typestring[]required
    idstring

    credentialSubject

    objectrequired

    oneOf

    idstringrequired
    issuerstringrequired
    expirationDatedate-time
    issuanceDatedate-timerequired
    evidenceobject
    proofobjectrequired
    typestringrequired
    createddate-timerequired
    proofPurposestringrequired
    jwsstringrequired
    verificationMethodstringrequired

Responses

Schema
    idstringrequired
    targetDidstringrequired

    credential

    object

    required

    @contextstring[]required
    typestring[]required
    idstring

    credentialSubject

    object

    required

    oneOf

    idstringrequired
    issuerstringrequired
    expirationDatedate-time
    issuanceDatedate-timerequired
    evidenceobject

    proof

    object

    required

    typestringrequired
    createddate-timerequired
    proofPurposestringrequired
    jwsstringrequired
    verificationMethodstringrequired
    selfIssuedbooleanrequired
    createddate-timerequired
    modifieddate-timerequired
    deleteddate-time