Templates
Delete template
Permanently delete a template. Emails already sent are unaffected; later sends with this template_id fail with invalid_request.
DELETE
https://api.sndr.sh/v1/templates/{id}Delete template
curl -X DELETE 'https://api.sndr.sh/v1/templates/tpl_c19e5d34-82a' \
-H "Authorization: Bearer $SNDR_API_KEY"204No Content
No response body.
Authorization
AuthorizationstringheaderrequiredBearer followed by your API key. Needs the send scope.
Path parameters
idstringrequiredTemplate ID (tpl_...).
Errors
401
unauthenticatedMissing or invalid API key.403
insufficient_scopeThe API key is missing the send scope.404
not_foundResource does not exist or belongs to a different account.