delete-mail-message
Remove email messages from Microsoft 365 mailboxes using the Graph API. Specify the message ID to delete unwanted or outdated emails.
Instructions
Delete eventMessage.
Input Schema
TableJSON 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 |