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/api/cranl/v1/templates/{id}Delete template
curl -X DELETE 'https://api.sndr.sh/api/cranl/v1/templates/tpl_c19e5d34-82a' \
-H 'Authorization: Bearer sndr_your_access_token'204No Content
No response body.
Authorization
AuthorizationstringheaderrequiredBearer followed by an access token. Needs the send scope.
Path parameters
idstringrequiredTemplate ID (tpl_...).
Errors
401
unauthenticatedMissing or invalid Bearer token.401
token_expiredAccess token expired — exchange the refresh token for a new pair.401
token_revokedToken was explicitly revoked.403
insufficient_scopeToken is missing the send scope.404
not_foundResource does not exist or belongs to a different account.