DELETE/inboxes/{inbox_id}/drafts/{draft_id}

Remove an inbox draft

Deletes an unsent draft from an inbox. Use the inbox and draft identifiers to select the draft to discard; drafts that have already been sent are not eligible for removal.

2 parameters
inbox_idstringrequired
The UUID of the inbox containing the draft; an email address is not accepted.
draft_idstringrequired
The UUID of the unsent draft to remove.

1 status code
200Returns the draft ID and a `deleted` value of `true` to confirm removal.
objectstringrequired
The object type.
idstringrequired
The ID of the draft.
deletedbooleanrequired
Indicates whether the draft was successfully deleted.
Allowed:true

Error handling

The inbox_id and draft_id path parameters must be UUIDs identifying the inbox and an unsent draft in that inbox.