Homepage

admin_email_notification_delete

Last edit: Nov 10, 2026

Deletes (soft-deletes) an email notification found by physical_file_path (or
the deprecated id) and returns it. Raises an error when the email does not
exist; emails stored in a private module directory cannot be deleted

admin_email_notification_delete(
  id: ID
  physical_file_path: String
): EmailNotification

Arguments

id (ID)

Deprecated, use physical_file_path. Id of the email notification to delete

physical_file_path (String)

physical_file_path of the email notification to delete; takes precedence over id

Type

EmailNotification

Email template (app/emails): an email sent with the email_send mutation. Every
field except name and delay_by is Liquid, evaluated when the email is sent

Questions?

We are always happy to help with any questions you may have.

contact us