Actions33
- Attachment Actions
- Calendar Actions
- Contact Actions
- Event Actions
- Folder Actions
- Message Actions
Message → Delete
AI-generatedSummary
Delete a message by its ID from AWS WorkMail using Exchange Web Services (EWS).
Inputs
- Message ID (required) — The ID of the message to delete.
Output shape
a single JSON object containing a success confirmation and the deleted message ID
Returns { success: true, messageId } if the deletion is successful.
Examples
Example 1: Deleting a message
Set resource to 'Message', operation to 'Delete', and provide the 'Message ID' of the message to be deleted.