sample
turbot/flowpipe-samples/delete-mail-from-microsoft-office-365
Get Involved
Version
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
Name | Type | Required | Description | Default |
---|---|---|---|---|
conn | connection.teams | Yes | Name of Teams connection to use. If not provided, the default Teams connection will be used. | connection.teams.default |
user_id | string | Yes | The unique identifier for the user. | - |
message_id | string | Yes | The email message ID which needs to be deleted. | - |
Outputs
Name | Description |
---|---|
deleted_mail | The deleted email details. |
Tags
recommended = true