Delete a template
DELETE
/v1/templates/{id}Secret key — sk_… or sk_test_… · Base URL https://api.volanea.com
Deletes the template and its entire version history.
Messages already sent from it are unaffected: the rendered body is stored on each email row, so the send log stays readable after the template is gone.
Nothing checks for references first. A campaign or workflow step still naming this templateId is not updated and not warned about — it fails at send time with send_failed and details[0].code of template_not_found. Check what points at a template before removing it.
Path parameters
idstringrequiredTemplate id.
Response
Deleted.
successbooleanrequired
Errors
Every failure returns the standard envelope — branch on `code`, never on the wording of `error`.
401Missing or invalid API key.404Not found.422Request validation failed (code `validation_error`, 422).
Request
curl https://api.volanea.com/v1/templates/id_123 \
-X DELETE \
-H "Authorization: Bearer sk_..."Response
200 · application/json
{
"success": true,
"data": {
"success": true
}
}92 endpoints · OpenAPI document