MailAttachmentDelete

Summary

  • Deletes an attachment from a message.

Graph Endpoint

  • DELETE /me/messages/{messageId}/attachments/{attachmentId}

Parameters

Required

  • messageId: string — Alias: id

  • attachmentId: string

Usage (app.businessFunction)

app.businessFunction({
  functionName: 'MicrosoftGraph',
  methodName: 'Mail',
  operation: 'AttachmentDelete',
  parameters: {
    messageId: 'AAMkAGI2N...',
    attachmentId: 'AQQkADk2...'
  }
})

Response

{ "ok": true }

Last updated

Was this helpful?