Skip to main content

Update presentation definition

PUT 

/v2/config/digital-wallet/openid/sdjwt/presentation-definition/:presentationDefinitionId

This endpoint is used to update presentation definition by ID.

Request

Path Parameters

    presentationDefinitionId stringrequired

    Identifier for the presentation definition

Body

    label stringrequired

    Defines the usage purpose for the presentation definition. For e.g. Verify Portable Document A1

    presentationDefinition object

    Defines the structure of the presentation credential as per DIF presentation exchange specification. Refer it here: https://identity.foundation/presentation-exchange/

    property name* any

    Defines the structure of the presentation credential as per DIF presentation exchange specification. Refer it here: https://identity.foundation/presentation-exchange/

    transactionDataDefinitionType string

    Possible values: [payment_data]

    Defines the transaction data definition type for the presentation definition. For e.g. payment_data

    enforceWUA boolean

    Specifies the verifiable credential should enforce wallet unit attestation

    version string

    Possible values: [draft_14, draft_18]

    Specifies the version of oid4vp draft specification

    kid string

    Specifies the key identifier of keys to be used for credential issuance

    trustAnchor string

    Possible values: [jwk, did:key, did:ebsi, did:web]

    Specifies the trust anchor used for credential issuance

    scope string

    Specifies the scope for the presentation definition

    responseType string

    Possible values: [id_token, vp_token]

    Specifies the response type for the presentation definition

Responses

Response Headers
    Schema
      presentationDefinition object
      presentationDefinitionId stringrequired

      Identifier for the presentation definition

      label stringrequired

      Defines the usage purpose for the presentation definition. For e.g. Verify Portable Document A1

      presentationDefinition objectrequired

      Defines the structure of the presentation credential as per DIF presentation exchange specification. Refer it here: https://identity.foundation/presentation-exchange/

      property name* any

      Defines the structure of the presentation credential as per DIF presentation exchange specification. Refer it here: https://identity.foundation/presentation-exchange/

      transactionDataDefinitionType string

      Possible values: [payment_data]

      Defines the transaction data template type for the presentation definition. For e.g. payment_data

      enforceWUA boolean

      Specifies the verifiable credential should enforce wallet unit attestation

      createdAt numberrequired

      Timestamp when the record was created.

      updatedAt numberrequired

      Timestamp when the record was updated.

      version string

      Possible values: [draft_14, draft_18]

      Specifies the version of oid4vp draft specification

      kid string

      Specifies the key identifier of keys to be used for credential issuance

      trustAnchor string

      Possible values: [jwk, did:key, did:ebsi, did:web]

      Specifies the trust anchor used for credential issuance

      scope string

      Specifies the scope for the presentation definition

      responseType string

      Possible values: [id_token, vp_token]

      Specifies the response type for the presentation definition

    Loading...