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
Unique identifier of the credential definition that specifies the credential format, type, and claims structure for OID4VCI issuance.
- multipart/form-data
Body
required
Multipart form that holds the image file in the coverimage field.
Image file to store as the credential card background of the credential definition.
Responses
- 200
- 400
- 401
- 500
The server stored the image and updated the credential definition. The response body is empty.
Response Headers
The organisation is unknown, no credential definition matches credentialDefinitionId, or the issuer cannot save the new image reference.
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Unauthorized
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
The server cannot read the uploaded file from the coverimage form field, or cannot store the image.
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}