Delete a draft
delete_draftDelete a DRAFT post, either to the trash or permanently. Only posts currently in DRAFT status can be deleted here; published or scheduled posts cannot. The mode is the user's choice and needs their confirmation: trashing leaves the post recoverable for 30 days via restore_post(post_id), but it still counts toward the account's draft limit until it is permanently deleted or the trash window expires; permanent deletion is irreversible but frees that limit slot immediately. Either way the post leaves every listing immediately and its schedules are purged. mode='trash' or mode='permanent' acts immediately without an interactive prompt, which is the reliable way to reach permanent deletion on clients that don't support interactive confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||