capabilities.work

Delete hosted content from a message

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

Get something done

Delete hosted content from a message

Works with AI assistants

Use Microsoft Outlook: its OData Service for namespace microsoft.graph Groups.team API lets you delete hosted content from a message in a single step (DELETE /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}). 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 an image or code snippet from a message?
  • Can I delete hosted content inside a message by its ID?
Say it to your AI assistant
  • Delete hosted content {content} from message {message} of group {group}.
  • Remove attachment {content} from message {message} in the main channel of team {group}.
For your developer

DELETE /groups/{group-id}/team/primaryChannel/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id} in OData Service for namespace microsoft.graph Groups.team API. Full spec on APIs.io.