capabilities.work

Delete media from a message

One step with Microsoft Outlook. We can help you get access.

Get something done

Delete media from a message

Works with AI assistants

Use Microsoft Outlook: its OData Service for namespace microsoft.graph Users.chat API lets you delete media from a message in a single step (DELETE /users/{user-id}/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 a picture or file a user posted in a chat message?
  • Can I delete hosted media from a single message by its ID?
Say it to your AI assistant
  • Delete hosted content {content} from message {message} in chat {chat} for user {user}.
  • Remove the embedded media {content} from chat message {message} in {chat} of user {user}.
For your developer

DELETE /users/{user-id}/chats/{chat-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value in OData Service for namespace microsoft.graph Users.chat API. Full spec on APIs.io.