Delete a text template
delete_site_message_template
Deletes a text template the site added of its own, on Sent too.
Scopeconfig:writeDestructive
Built-in templates cannot be deleted, and texts already sent with it stay in the history. It needs the Delete projects permission. The tool tells the client to ask you first.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
projectId |
string | Yes | The site id. |
key |
string | Yes | The key of the template, from list_site_message_templates. |