Skip to main content
outlook.deleteMailFolder moves a mail folder to Deleted Items and completes without output.

Example

automations/outlook-delete-mail-folder.automation.ts

Inputs

Pass { folder: "Customers" }. The optional second argument { account } selects a Microsoft binding.

Output

Moves a mail folder to Deleted Items and completes without output. Microsoft Graph requires the scopes declared by the action. IDs are opaque and should be passed through unchanged.