Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Mailboxes > Forwarding → Delete All Forwardings

AI-generated

Summary

Delete all forwarding rules for a specified mailbox and mail hosting.

Inputs

  • authentication (required) — Authentication method; either OAuth2 or API Key.
  • path_mail_hosting_id (required) — The ID of the mail hosting containing the mailbox.
  • path_mailbox_name (required) — The username (part before '@') of the email address whose forwardings to delete.
  • returnFullResponse — If true, the full API response is returned; otherwise only a success indicator.

Output shape

JSON confirmation object (typically empty on success); full response when returnFullResponse is true.

The operation does not return a list of items; it reports success or any error via the response body.

Examples

Example 1: Delete forwarding for mailbox 'user@example.com' on hosting ID 5 using OAuth2.

authentication: OAuth2; path_mail_hosting_id: 5; path_mailbox_name: user@example.com; returnFullResponse: false

Links

Discussion