Delete template
Deletes a template. Emails already sent with it keep their content.
View as
templates_removeNeeds the scopetemplates:write
Destroys something
Arguments
idstringRequiredThe id of the item. Up to 64 characters.
Returns
The answer comes back under structuredContent, with the same JSON as text in content. A call the API refuses comes back with isError set, and the code and the message under structuredContent.error. MCP shows how to connect a client.
objectstringWhat kind of thing was removed.
One of
listemailbroadcastaudiencetemplatetemplate_versiontemplate_starterautomationmetricsdomainapi_keywebhooklogworkspacemembermethodaccountinbound_emailwebhook_deliverycontactplancheckoutinvoiceask_answersuppressionchatautomation_runeventevent_receiptimportimport_inventorytopiccontact_propertyimageserveridstringThe id of what was removed.
deletedtrueAlways
true: it is gone for good.