Skip to main content

DELETE /vc-templates/:templateId

Update an existing Verifiable Credential Template.

{{baseUrl}}/vc-templates/:templateId

Headers

HeaderTypeDescription
x-api-keystringThe API key required for authentication.

Path Parameters

ParameterTypeDescription
templateIdstringThe unique ID of the template to be deleted.
templateId: a56542f5-31df-41f9-bf24-c4fffc3eff7b

Click Send and wait for the response.

Response (Success - 200)

ParameterTypeDescription
messagestringA success message indicating the template was deleted.
templateIdstringThe ID of the template that was deleted.

Sample Response Body:

{
"message": "Template with ID a752d4e1-7279-44f1-baa9-cce36995ad7e has been successfully deleted.",
"templateId": "a752d4e1-7279-44f1-baa9-cce36995ad7e"
}

Response (Server Error - 500)

ParameterTypeDescription
errorstringDescribes the error that occurred.

Sample Response Body:

{
"error": "Server error"
}