Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Mailboxes > Folders → Empty Trash Folder

AI-generated

Summary

Empty the trash folder of a specified mailbox.

Inputs

  • authentication — Authentication method: OAuth2 or API Key.
  • path_mail_hosting_id (required) — ID of the mail hosting containing the mailbox.
  • path_mailbox_name (required) — Username (part before @) of the email address.
  • returnFullResponse — If true, returns the full API response; otherwise only status.

Output shape

no body — success/failure only

Returns a generic success response; errors may be reported in the workflow error context.

Examples

Example 1: Delete all items in the trash folder of user@example.com mailbox

authentication: oauth2; path_mail_hosting_id: 123; path_mailbox_name: user; returnFullResponse: false

Links

Discussion