Update credential definition cover image
Uploads the cover image (the card background) of a credential definition. The platform stores the image and sets display.backgroundImage.uri of the definition and of each of its credential configurations to the public URL of the image, so the Credential Issuer Metadata shows it at once. The image must be PNG, JPEG, GIF or WebP, at most 5 MiB and 4096 x 4096 pixels (the default limits). Update credential definition cannot change the image.
Authorizations
AuthorizationstringheaderrequiredYour API key with the prefix
ApiKey:ApiKey <your-api-key>. Get an API key.Scope:
credential-definitions:update
Path parameters
definitionId stringrequiredThe id of the credential definition (
credentialDefinitionId), from List credential definitions.
Body
A multipart form with the image file in the field coverimage.
coverimagefilerequiredThe image file: PNG, JPEG, GIF or WebP.
Response
The image is stored and in use. No body.
No body.