Delete Draft Thread
Unibox
Delete Draft Thread
Permanently discard an unsent one-off email draft thread.
DELETE
Delete Draft Thread
CLI:
Overview
Permanently deletes an unsent one-off email draft thread. This endpoint only works when the thread hasstatus: "draft" and has no inbound or outbound messages. It will not delete active conversations, archived conversations, sent one-off emails, campaign conversations, or drafts that already have message history.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | Draft thread ID. |
Example
Error Notes
| Status | When it happens |
|---|---|
404 | The thread does not exist or does not belong to the workspace. |
409 | The thread is not an unsent draft. |
500 | Deletion failed unexpectedly. |