Actions137
- Account Actions
- Automation Actions
- Broadcast Actions
- Contact Actions
- Contact Property Actions
- Domain Actions
- Email Actions
- Event Actions
- Inbox Actions
- Inbox Draft Actions
- Inbox Thread Actions
- Log Actions
- Receiving Email Actions
- Segment Actions
- Suppression Actions
- Template Actions
- Topic Actions
- Webhook Actions
Inbox Draft → Delete
AI-generatedSummary
Delete a draft email from a specified inbox by providing its draft ID.
Inputs
- Authentication — Choose the authentication method: API Key or OAuth2 (recommended).
- Inbox (required) — Select the inbox containing the draft by choosing from the list or by providing its ID or email address.
- Draft ID (required) — Provide the unique ID of the draft email to be deleted.
Output shape
a JSON object containing the API response from the deletion operation, typically confirming successful deletion; no list or multiple records are returned.
The operation requires valid authentication and the specified inbox to contain the draft with the given ID. Errors are returned if the draft does not exist or deletion fails.
Examples
Example 1: Deleting a draft
Provides the inbox via a list or ID and the draft ID to delete the draft. Returns confirmation JSON on success.