Skip to main content
Version: v0.4.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

    object

    required

    oneOf

    idstringrequired
    issuerstringrequired
    expirationDatedate-time
    issuanceDatedate-timerequired
    evidenceobject

    proof

    object

    required

    oneOf

    oneOf

    idstring
    typestringrequired
    proofPurposestringrequired
    verificationMethodstring
    cryptosuitestringrequired
    createdstring
    expiresstring

    domain

    object

    oneOf

    string

    challengestring
    proofValuestringrequired

    previousProof

    object

    oneOf

    string

    noncestring

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

    oneOf

    oneOf

    idstring
    typestringrequired
    proofPurposestringrequired
    verificationMethodstring
    cryptosuitestringrequired
    createdstring
    expiresstring

    domain

    object

    oneOf

    string

    challengestring
    proofValuestringrequired

    previousProof

    object

    oneOf

    string

    noncestring
    selfIssuedbooleanrequired
    createddate-timerequired
    modifieddate-timerequired
    deleteddate-time