delete-mail-message
Deletes an email message by moving it to the Deleted Items folder. To permanently delete, delete again from Deleted Items.
Instructions
Delete eventMessage.
💡 TIP: Soft delete — moves to Deleted Items. To permanently delete, delete again from Deleted Items.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| If-Match | No | ETag | |
| messageId | Yes | Path parameter: messageId | |
| includeHeaders | No | Include response headers (including ETag) in the response metadata | |
| excludeResponse | No | Exclude the full response body and only return success or failure indication |