Skip to main content

MsGraphMailDeleteEmail

This Script is part of the Microsoft Graph Mail Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.1.0 and later.

A polling wrapper script; deletes an email.

Script Data#


NameDescription
Script Typepython3
TagsUtilities
Cortex XSOAR Version6.1.0

Inputs#


Argument NameDescription
user_idUser ID or principal ID (usually an email address in the format someuser@example.com).
message_idThe unique ID of the mail. This could be extracted from - msgraph-mail-list-emails command results. You cannot use the the 'MessageID' key in the form '<message-id>'.
folder_idA comma-separated list of folder IDs. For example, mailFolders,childFolders,childFolders.
ran_once_flagA flag for rate limit retry.

Outputs#


There are no outputs for this script.