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
Identifier for the presentation definition
- application/json
Body
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/
Defines the structure of the presentation credential as per DIF presentation exchange specification. Refer it here: https://identity.foundation/presentation-exchange/
Possible values: [payment_data
]
Defines the transaction data definition type for the presentation definition. For e.g. payment_data
Specifies the verifiable credential should enforce wallet unit attestation
Possible values: [draft_14
, draft_18
]
Specifies the version of oid4vp draft specification
Specifies the key identifier of keys to be used for credential issuance
Possible values: [jwk
, did:key
, did:ebsi
, did:web
]
Specifies the trust anchor used for credential issuance
Specifies the scope for the presentation definition
Possible values: [id_token
, vp_token
]
Specifies the response type for the presentation definition
Responses
- 200
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
presentationDefinition object
Identifier for the presentation definition
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/
Defines the structure of the presentation credential as per DIF presentation exchange specification. Refer it here: https://identity.foundation/presentation-exchange/
Possible values: [payment_data
]
Defines the transaction data template type for the presentation definition. For e.g. payment_data
Specifies the verifiable credential should enforce wallet unit attestation
Timestamp when the record was created.
Timestamp when the record was updated.
Possible values: [draft_14
, draft_18
]
Specifies the version of oid4vp draft specification
Specifies the key identifier of keys to be used for credential issuance
Possible values: [jwk
, did:key
, did:ebsi
, did:web
]
Specifies the trust anchor used for credential issuance
Specifies the scope for the presentation definition
Possible values: [id_token
, vp_token
]
Specifies the response type for the presentation definition
{
"presentationDefinition": {
"presentationDefinitionId": "string",
"label": "string",
"presentationDefinition": {},
"transactionDataDefinitionType": "payment_data",
"enforceWUA": true,
"createdAt": 0,
"updatedAt": 0,
"version": "draft_14",
"kid": "string",
"trustAnchor": "jwk",
"scope": "string",
"responseType": "id_token"
}
}