delete Draft Email Messages
Delete multiple draft email messages with a list of identifiers.
This API returns a BatchOperationResult:
On Success, all email messages succeeded to delete.
On Partial, only a partial amount of messages succeeded to delete. Result includes two lists; one containing identifiers of email messages that were successfully deleted, and the other containing identifiers and failure reasons of email messages that failed to delete.
On Failure, all email messages failed to delete. Result contains a list of identifiers of and failure reasons of email messages that failed to delete.
Return
A success, partial or failed BatchOperationResult result containing a list of ids of email messages that failed to delete with an associated error type, and/or a list of ids of email messages that were successfully deleted.
Parameters
DeleteDraftEmailMessagesInput Input parameters containing a list of draft email message identifiers and an email address identifier.