Actions118
- Mailbox Management Actions
- Mailboxes Actions
- Mailboxes > Accesses > Devices Actions
- Mailboxes > Accesses > Invitations Actions
- Mailboxes > Accesses > Webmail Actions
- List User Access And Invitations
- Create Webmail Access
- Set The Primary Mailbox For The Authenticated User
- List Users Having Access
- List Of User Accesses For The Current User
- List Of User Accesses For A Account And A User
- Update Webmail Access
- Delete Webmail Access
- Delete Access To A Mailbox For The Current User
- Mailboxes > Aliases Actions
- Mailboxes > Auto Reply Actions
- Mailboxes > Folders Actions
- Mailboxes > Forwarding Actions
- Mailboxes > Sieve Filters Actions
- Mailboxes > Signatures Actions
- Mailboxes > Users Actions
- Mailing List Actions
- Mailing List > Subscribers Actions
- Service Mail > Auto Reply Actions
- Service Mail > Bimi Actions
- Service Mail > Filters Models Actions
- Service Mail > Preferences Actions
- Service Mail > Redirections Actions
- Service Mail > Redirections > Target Actions
- Service Mail > Signatures Templates Actions
Service Mail > Redirections > Target → Remove A Target
AI-generatedSummary
Remove a specified mail redirection target.
Inputs
- authentication — Method used to authenticate with Infomaniak API; either OAuth2 or API Key.
- path_mail_hosting_id (required) — Identifier of the mail hosting account (mail hosting ID) to which the redirection belongs; required.
- path_redirection_id (required) — Identifier of the redirection to remove; required.
- returnFullResponse — If true, the full API response is returned; otherwise only a success indicator.
Output shape
no body — success/failure only
Returns no response body; the operation succeeds or throws an error.
Examples
Example 1: Delete a redirection using OAuth2 authentication
authentication: oauth2; path_mail_hosting_id: 123; path_redirection_id: 456; returnFullResponse: false
Example 2: Remove a target with API Key and request full response
authentication: apiKey; path_mail_hosting_id: 789; path_redirection_id: 101; returnFullResponse: true
Example 3: Delete redirection without specifying return flag (default behavior)
authentication: oauth2; path_mail_hosting_id: 112; path_redirection_id: 223