Localisé par IA

template.deleted

Déclenché lorsqu'un modèle est supprimé.

Charge utile

{
  "event_id": "evt_2bH7kNwP5mQaV1sXgIdKe6pZr",
  "type": "template.deleted",
  "data": {
    "object": {
      "id": "tem_4yM2nTvR8oPcX3uZiKeLg7sB",
      "object": "template",
      "name": "Welcome Email v1",
      "alias": "welcome-email",
      "from": "Support <support@company.com>",
      "subject": "Welcome!",
      "reply_to": ["support@company.com"],
      "html": "<h1>Welcome!</h1>",
      "text": "Welcome!",
      "editor": "html",
      "published_at": null,
      "created_at": "2025-12-24T09:00:00.000000Z",
      "updated_at": "2025-12-24T10:30:00.000000Z"
    }
  }
}

Champs

idstring
Link

Identifiant unique du modèle.

objectstring
Link

Toujours template.

namestring
Link

Nom du modèle.

aliasstring
Link

Alias du modèle pour l'utilisation via l'API.

fromstring
Link

Adresse d'expéditeur par défaut.

subjectstring
Link

Ligne d'objet par défaut.

reply_toarray
Link

Adresses de réponse.

htmlstring
Link

Contenu HTML du modèle.

textstring
Link

Contenu texte brut du modèle.

editorstring
Link

Type d'éditeur utilisé (html, visual).

published_atstring | null
Link

Horodatage ISO 8601 de la publication.

created_atstring
Link

Horodatage ISO 8601.

updated_atstring
Link

Horodatage ISO 8601.