Skip to main content

Presentation definitions

Create and maintain the presentation definitions: the DCQL query, the trusted authorities and the transaction data that a verification asks for.

Update presentation definition

Changes a presentation definition. Send the whole `dcqlQuery` in every update: without it the server answers 400 `Presentation definition is required`. The other members are partial: a member that you leave out, send as `null`, or send as an empty string or array keeps its stored value. Two exceptions: an empty `expectedOrigins` array clears the origins, and an empty `listedClaims` object clears the list. A new value replaces the stored one; the server does not merge objects.