Delete hosted content media from a chat message
One step with Microsoft Outlook. We can help you get access.
Get something done
Delete hosted content media from a chat message
with Microsoft Outlook
Works with AI assistants
Use Microsoft Outlook: its OData Service for namespace microsoft.graph Me.chat API lets you delete hosted content media from a chat message in a single step (DELETE /me/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 remove the media of hosted content from a chat message?
- Can I delete hosted content by its media value?
Say it to your AI assistant
- Delete the media of hosted content {content_id} in message {message_id} of chat {chat_id}.
- Remove hosted file {content_id} from chat message {message_id} in chat {chat_id}.
For your developer
DELETE /me/chats/{chat-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value in OData Service for namespace microsoft.graph Me.chat API. Full spec on APIs.io.