delete-mail-message
Delete a mail message by moving it to Deleted Items. To permanently delete, delete the message 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 |