Skip to main content
DELETE
/
api
/
email-templates
/
{template_id}
Delete a template
curl --request DELETE \
  --url https://api.morphic.io/api/email-templates/{template_id} \
  --header 'X-API-Key: <api-key>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

API key (sk_xxx) from Developer Settings. No X-Account-ID needed.

Headers

x-account-id
string | null

Path Parameters

template_id
string<uuid>
required

Response

Successful Response