Delete Template
postmark.delete_template
ActionEmailconnection required
Calls the Postmark API with the connection's credentials.
Delete a template from the server by its numeric id or its alias.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Postmark
- Secret shape
- the server API token, or {"server_token": "…"}
- Config it needs
- message_stream, from_address, base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
template The template's numeric TemplateId or its alias — Postmark accepts either in the path. | string | Yes | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
template The template id or alias that was deleted. | string | — |
deleted True when Postmark answered with ErrorCode 0. | boolean | — |
message Postmark's wording for the outcome. | string | — |
{
"deleted": false,
"message": "",
"template": ""
}See Delete Template run in a workflow.
In a technical demo we add the Postmark connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.