Skip to main content

Delete an Email Template

Easily remove unwanted or outdated email templates with the IntelSend Email Template API.
This helps you keep your template library clean and organized.


When to Delete a Template?โ€‹

  • ๐Ÿ—‘๏ธ Template is outdated
  • โœจ Replaced by a newer version
  • ๐Ÿงน Cleaning up unused templates

Delete Email Template by IDโ€‹

To delete an email template, make a DELETE request to the IntelSend API and pass the template ID.

Pro Tip

Make sure you are deleting the correct template ID โ€” deleted templates cannot be recovered.

curl --location --request DELETE 'https://beta.intelsend.com/api/template/?id=<TEMPLATE_ID>' \
--header 'Cookie: __Secure-next-auth.session-token=<YOUR_SESSION_TOKEN>'

Example

curl --location --request DELETE 'https://beta.intelsend.com/api/template/?id=663f3e0e7107b0fe7a12cbdc' \
--header 'Cookie: __Secure-next-auth.session-token=eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0..2W6Htv9tTsfaGhNh.7EvYvDBLUVyuCp8VCRKGObfZQPXklqXfcdmz_qN-KALHJzCzYYCWzDvzsQ7NixByulIRTNQMaefhrw4tfYNhOeLHM8x7VePdWpXMo5FKICwfFwGz9VvkfaXuNMWxQTaV_czzwjIiAsEB2ei7h117tGaDwaP4VZfIL6yAoGNeXB0Fy6z0zk65vyqX_gs8sFg9IjD7zef0JL3sH_x5EgbU2qpnC3ovj6gm5DL8n60dtZsKh36sCMuJt4pKPgzpQrBViqo3sFsZGXIo.V95YlLrYrzT5u5ey68WFZw'


Example Response

{
"success": true,
"message": "Template deleted successfully"
}

โœ… Once deleted, the template will no longer be available in your IntelSend account. Need help? Reach out to support@intelsend.com .