Credential Management

Retrieve all stored credentials for a DID

get
Authorizations
AuthorizationstringRequired

One-Click access token (Authorization: Bearer )

Query parameters
networkstringOptional

The network to use for DID creation

typestringOptional

The type of credential to retrieve

statusstring · enumOptional

The credential status to filter by

Possible values:
issuedAtstringOptional

The credential issuance date to filter by

versionnumber · enumOptional

The credential version to filter by

Possible values:
Responses
200

The credentials have been successfully retrieved

application/json
get
/credentials
200

The credentials have been successfully retrieved

Import a credential from a JSON object

post
Authorizations
AuthorizationstringRequired

One-Click access token (Authorization: Bearer )

Body
allowForeignSubjectbooleanRequired

If allowForeignSubject is true allow any credential. If false (default) check if credential has subject Id, if it has it must match one of active DIDs of the wallet

Default: falseExample: true
Responses
post
/credentials

Delete all credentials

delete
Authorizations
AuthorizationstringRequired

One-Click access token (Authorization: Bearer )

Responses
delete
/credentials

No content

Retrieve a credential by its ID

get
Authorizations
AuthorizationstringRequired

One-Click access token (Authorization: Bearer )

Path parameters
idstringRequired
Responses
200

The credential has been successfully retrieved

application/json
get
/credentials/{id}
200

The credential has been successfully retrieved

Delete a specific credential

delete
Authorizations
AuthorizationstringRequired

One-Click access token (Authorization: Bearer )

Path parameters
idstringRequired

Credential identifier to delete

Example: did:empe:11111111#vc-1761304970049
Responses
delete
/credentials/{id}

No content

Last updated