Update a Primary VDT
PATCH/v1/vdt/:entityId
Updates an existing Primary VDT by its ID. Use this API to change attribute values or related VDT settings.
Details :
- Requires the Primary VDT ID in the path and a valid registryId in the body.
- Optional referenceInfo binds WHAT-section REFERENCE attributes only: each key is the attribute slug, each value is the referenced Primary VDT entityId. OVDT (WHO) and DVDT (DEVICE) references are derived from the authenticated org and device — do not send them in referenceInfo.
- Set options.mint to true when on-chain minting is required.
- On success, retrieve the latest state using the Get API.
Request
Responses
- 200
- 400
- 401
- 404
- 500
Primary VDT updated successfully.
The update request is invalid.
Unauthorized – Invalid or missing token.
The registry or Primary VDT was not found.
Internal Server Error
Webhook Events
This API can trigger the following webhook events. Subscribe to them in the webhook event reference to receive real-time notifications.