delete_draft
DELETES the saved publish draft (there is ONE per account). It requires confirmar=true and cannot be undone: show what is there first with my_draft and ask the person, above all if it is an EDIT draft (that would be pending changes to an already published template). It is what lets you start another one with create_draft without going through the website.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Required true. The draft is lost and cannot be recovered: look first at what it holds with my_draft and ask the person. | |
| confirmar | No | DEPRECATED alias of `confirm`: it still works, but use `confirm` (it will be removed in a future round, no date yet). Required true. The draft is lost and cannot be recovered: look first at what it holds with my_draft and ask the person. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Always true: no draft is left saved. | |
| note | No | Exactly what has been lost, in one sentence. | |
| deleted | Yes | It really was deleted in this call. | |
| hadDraft | Yes | There was a draft before this call. | |
| wasEditing | No | Slug the deleted draft was editing, or null if it was for a new template. |