Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Service Mail > Redirections → Delete Redirection

AI-generated

Summary

Delete a mail redirection

Inputs

  • authentication — Authentication method to use, either OAuth2 or API Key.
  • path_mail_hosting_id (required) — Identifier of the mail hosting.
  • path_redirection_id (required) — Identifier of the redirection to delete.
  • returnFullResponse — If true, the full API response is returned.

Output shape

a JSON object indicating the deletion result

When returnFullResponse is true the full Infomaniak API response is included; otherwise only a simple success confirmation is returned.

Examples

Example 1: Delete a redirection using API Key authentication

Authentication: apiKey; Mail Hosting Id: 12345; Redirection Id: abcde; Return Full Response: false

Links

Discussion