Details

This atomic belongs to the Microsoft Graph: Mail atomic group.

Deletes an email message from a mailbox using Microsoft Graph. This atomic requires the following API permission: Mail.ReadWrite.

Target: Microsoft Defender for Office 365 (Commercial or GCC) integration target or HTTP endpoint for "graph.microsoft.com"

Account Key: None if using an integration-provided target, access token if using an HTTP Endpoint target

Steps:
[] Build the authorization header
[] Request the message be deleted
[] Check if the request was successful:
[]> If it wasn't, return an error

More information about this API: https://learn.microsoft.com/en-us/graph/api/message-delete