Delete template (permanent)
delete_templatePermanently deletes a Cresca email template by ID or alias, including its version history; use only after user confirmation because removal cannot be undone.
Instructions
DELETE /templates/:id. PERMANENTLY deletes a template, by id or alias, and its version history, from the API and the Cresca app. This cannot be undone. Emails that still reference it fail with 404 not_found, so confirm with the user first. Needs a full-access key.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "delete_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The template id or alias. |