ghl_email_builder_template_delete
Deletes a legacy Email Builder template using its location ID and template ID. Use it to remove an obsolete template from a specific Sub-Account.
Instructions
Legacy 'Email Builder' template API (2021-era, distinct from the v3 template family below — different data model, not interchangeable). [LEGACY FALLBACK — this endpoint is no longer in the live v3 docs (checked 2026-10-28) but is still served under the legacy Version header. Expect removal; prefer a current equivalent.] Delete a template Endpoint: DELETE /emails/builder/{locationId}/{templateId} (Version header: 2021-07-28; source: emails.json) Requires a Sub-Account (location) token.
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": {
"locationId": "<locationId>",
"templateId": "<templateId>"
},
"name": "ghl_email_builder_template_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locationId | Yes | ||
| templateId | Yes |