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

Pipeline: 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
conn
connection.teams
YesName of Teams connection to use. If not provided, the default Teams connection will be used.connection.teams.default
user_id
string
YesThe unique identifier for the user.-
message_id
string
YesThe email message ID which needs to be deleted.-

Outputs

NameDescription
deleted_mailThe deleted email details.

Tags

recommended = true