Delete the raw content of a message
One step with Microsoft Outlook. We can help you get access.
Get something done
Delete the raw content of a message
Works with AI assistantsUse Microsoft Outlook: its OData Service for namespace microsoft.graph Me.mail Folder… lets you delete the raw content of a message in a single step (DELETE /me/mailFolders/{mailFolder-id}/messages/{message-id}/$value). Microsoft Outlook also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I wipe the raw MIME content of an email in a top-level mail folder?
- Can I make a delete of a message's content conditional on its ETag?
Say it to your AI assistant
- Clear the raw content of message {message} in top-level folder {folder}.
- Delete the raw content of message {message} in folder {folder} only if ETag {etag} matches.
For your developer
DELETE /me/mailFolders/{mailFolder-id}/messages/{message-id}/$value in OData Service for namespace microsoft.graph Me.mail Folder…. Full spec on APIs.io.