Skip to content

mail_template_draft_discard

Throw away the open, unpublished draft of a template.

Tool

mail_template_draft_discard

Throw away the open, unpublished draft of a template.

Throw away the open, unpublished draft of a template. The live revision is untouched

Behavior

HTTP
DELETE /mail/templates/:id/draft

Arguments

Name
Type
Required
Description
id
string
•
Template id whose open draft is thrown away

Response

Field
Type
Always
Description
revision
integer
•
Revision number that was discarded
discarded
boolean
•
True once the open draft is gone

Try it

Throw away the open, unpublished draft of a template.

When to use

Throw away the open, unpublished draft of a template. The live revision is untouched

Example

Ask your agent something like this:

Throw away the open, unpublished draft of a template.

The agent will invoke mail_template_draft_discard with these arguments:

{
  "id": "<id>"
}

Esc

Start typing to search the docs.

↑↓navigate↵select