DELETE
/
email_templates
/
{id}
curl --request DELETE \
  --url https://api.pocketflows.com/email_templates/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "<string>",
  "name": "<string>",
  "subject": "<string>",
  "body": "<string>",
  "template_json": "<any>",
  "template_html": "<string>",
  "attachments": [
    {
      "content": "<string>",
      "name": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The ID of the email template

Response

200 - application/json
The deleted `EmailTemplate` object

The response is of type object.