Resend icon

Resend

Send emails, manage contacts, create broadcasts, handle templates, domains, segments, topics, and webhooks using the Resend email platform

Template → Delete

AI-generated

Overview

This node operation deletes a specified email template from the Resend email platform. It is useful for managing and cleaning up reusable email templates that are no longer needed, ensuring that only relevant templates remain in the system. For example, a user can delete outdated marketing email templates or test templates that are no longer in use.

Use Case Examples

  1. Deleting an obsolete promotional email template to prevent accidental use.
  2. Removing a test template created during development to keep the template list organized.

Properties

Name Meaning
Template The specific email template to delete, identified either by selecting from a list or by providing its unique ID.

Output

JSON

  • success - Indicates whether the template deletion was successful (true or false).
  • templateId - The ID of the template that was deleted.

Dependencies

  • Requires an API key credential for the Resend email platform to authenticate and authorize the deletion request.

Troubleshooting

  • Ensure the provided template ID exists and is correct; otherwise, the deletion will fail with an error indicating the template was not found.
  • Check that the API key credential has sufficient permissions to delete templates.
  • Network or API errors may cause the operation to fail; verify connectivity and API status.

Links

Discussion