Templates

Delete template

Permanently delete a template. Emails already sent are unaffected; later sends with this template_id fail with invalid_request.

DELETEhttps://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

Authorizationstringheaderrequired

Bearer followed by an access token. Needs the send scope.

Path parameters

idstringrequired

Template ID (tpl_...).

Errors

401unauthenticatedMissing or invalid Bearer token.
401token_expiredAccess token expired — exchange the refresh token for a new pair.
401token_revokedToken was explicitly revoked.
403insufficient_scopeToken is missing the send scope.
404not_foundResource does not exist or belongs to a different account.