Excel Add-In for Microsoft Office 365

Build 25.0.9434

DeleteAttachment

Removes an attachment from an email message based on the message and attachment IDs.

Input

Name Type Required Description
MessageId String True Identifier of the email message that contains the attachment to be deleted.
AttachmentID String True Identifier of the attachment to delete from the message.

Result Set Columns

Name Type Description
Id String Identifier of the message from which the attachment was removed.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434