Delete media content of a chat message's hosted item
One step with Microsoft Outlook. We can help you get access.
Get something done
Delete media content of a chat message's hosted item
with Microsoft Outlook
Works with AI assistants
Use Microsoft Outlook: its OData Service for namespace microsoft.graph Chats.chat… lets you delete media content of a chat message's hosted item in a single step (DELETE /chats/{chat-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-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 media stored in a hosted content item on a Teams chat message?
- Can I clear the raw media value of a hosted item in a chat message, guarded by an ETag?
Say it to your AI assistant
- Wipe the media value of hosted item {hosted_content} on message {message} in chat {chat}.
- Clear the stored media bytes of hosted item {hosted_content} on message {message} in chat {chat} only if ETag {etag} matches.
For your developer
DELETE /chats/{chat-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value in OData Service for namespace microsoft.graph Chats.chat…. Full spec on APIs.io.