Skip to main content

Update credential definition cover image

PUT 

/v2/config/digital-wallet/openid/sdjwt/credential-definition/:credentialDefinitionId/coverimage

Uploads or updates the cover image of an OID4VCI credential definition. This operation is the only way to upload your own cover image, because the create and update credential definition operations ignore display.backgroundImage.uri. The server stores the image, then sets display.backgroundImage.uri of the credential definition and of every credential configuration that it holds to the URL of the new image. Use this operation after you create the credential definition.

Request​

Path Parameters

    credentialDefinitionId stringrequired

    Unique identifier of the credential definition that specifies the credential format, type, and claims structure for OID4VCI issuance.

Body

required

Multipart form that holds the image file in the coverimage field.

    coverimage binaryrequired

    Image file to store as the credential card background of the credential definition.

Responses​

The server stored the image and updated the credential definition. The response body is empty.

Response Headers
    Loading...