Delete an automated email

Permanently deletes an automated email. It cannot be undone.

DELETE/v3/automated-emails/{id}
JWT
automatedEmail:write

Parameters

NameTypeInDescription
id*stringpathUnique identifier for the automated email.
Triggers webhook: automatedEmail.deleted
POST <your-webhook-url>
{
  "event": "automatedEmail.deleted",
  "data": {
    "id": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "name": "string",
    "fromName": "string",
    "fromEmail": "string",
    "cc": "string",
    "bcc": "string",
    "subject": "string",
    "body": "string",
    "replyTo": "string",
    "event": "string",
    "enabled": true,
    "custom": true,
    "sent": 0,
    "productIds": [
      "string"
    ]
  },
  "triggeredAt": "string"
}

Responses

204 No Content