samples
turbot/flowpipe-samples/delete-mail-from-microsoft-office-365
OverviewPipelines
0
Triggers
0
Variables
GitHub

Delete Mail From Microsoft Office 365

Delete an email from a specified user's mailbox in Microsoft Office 365.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run delete_mail_from_microsoft_office_365.pipeline.delete_mail_from_microsoft_office_365 \
--arg 'user_id=<string>' \
--arg 'message_id=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = delete_mail_from_microsoft_office_365.pipeline.delete_mail_from_microsoft_office_365
args = {
user_id = <string>
message_id = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
teams_credstringYesName for Microsoft Teams credentials to use. If not provided, the default credentials will be used.default
user_idstringYesThe unique identifier for the user.-
message_idstringYesThe email message ID which needs to be deleted.-

Outputs

NameDescription
deleted_mailThe deleted email details.