DELETE /vc-templates/:templateId
Update an existing Verifiable Credential Template.
{{baseUrl}}/vc-templates/:templateId
Headers
Header | Type | Description |
---|---|---|
x-api-key | string | The API key required for authentication. |
Path Parameters
Parameter | Type | Description |
---|---|---|
templateId | string | The unique ID of the template to be deleted. |
templateId: a56542f5-31df-41f9-bf24-c4fffc3eff7b
Click Send
and wait for the response.
Response (Success - 200)
Parameter | Type | Description |
---|---|---|
message | string | A success message indicating the template was deleted. |
templateId | string | The 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)
Parameter | Type | Description |
---|---|---|
error | string | Describes the error that occurred. |
Sample Response Body:
{
"error": "Server error"
}