Skip to main content
Credential definitions

Update credential definition cover image

PUT/v4/config/ows/issuer/credential-definitions/{definitionId}/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

  • Authorizationstringheaderrequired

    Your API key with the prefix ApiKey: ApiKey <your-api-key>. Get an API key.

    Scope:credential-definitions:update

Path parameters

Body

multipart/form-data

A multipart form with the image file in the field coverimage.

  • coverimagefilerequired

    The image file: PNG, JPEG, GIF or WebP.

Response

The image is stored and in use. No body.

No body.