Discard an email template draft
lnkdrp_discard_email_template_draftDiscards an email template draft: its text is deleted at once and the live template is unchanged; a record of who made it and how it ended stays 90 days. Its author, or anyone who may publish the template, may discard it; anyone else is forbidden. When the draft is someone else's, its author is told in the app and by email (per their doc-update email setting), with note (optional, at most 500 characters). It cannot be undone. LinkDrop asks the person to confirm before it acts, showing the draft, who added it and what it changed. draftId left out: this person's own open draft, else the only one. Returns the draft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Why it is being discarded, at most 500 characters; shown to its author. | |
| confirm | No | The person's yes to the preview LinkDrop returned for this same action. | |
| draftId | No | The draft's id, from lnkdrp_list_drafts (kind template) or an update's draft.id. Left out: this person's own open draft, else the only one. | |
| templateId | Yes | Email template id (24 hex chars), from lnkdrp_list_email_templates. | |
| alwaysAllow | No | Records the person's own standing permission for this tool on this connection. | |
| confirmationToken | No | The confirmationToken from that preview. |