sendsend.email

Delete a template

DELETE/v1/templates/{id}

Removes the template and all its versions. Emails you already sent are not affected: each keeps the subject and body it was sent with.

Required scope: templates:manage

Parameters

NameInDescription
idrequiredpathThe template id.

Example

curl -X DELETE 'https://api.sendsend.email/v1/templates/ID' \
  -H "Authorization: Bearer $SENDSEND_API_KEY"

Returns 200.

Errors

StatusCodeWhen
404not_foundNo such resource in this project.
401unauthorizedThe API key is missing, invalid or revoked.
403forbiddenThe key does not have the scope this endpoint needs.

Every error has the same shape. See Errors.