Remove one email from the history of a site
delete_site_email_send
Removes one email from a site's history, without unsending it or changing this month's allowance.
Scopeconfig:writeDestructive
The email disappears from list_site_email_sends, the stats, the Emails tab and the site's own getEmail and listEmails, but Modulify keeps it, hidden, and its idempotency key stays taken for 30 days. The email itself was already sent and stays sent, and this month's allowance does not change.
It needs the Delete projects permission. See Open an email.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
projectId |
string | Yes | The site id. |
sendId |
string | Yes | The id of the email, from list_site_email_sends. |