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
Mailboxes > Aliases → Delete An Alias
AI-generatedSummary
Delete a specified alias from a mailbox in Infomaniak Mail.
Inputs
- authentication — Authentication method to use: OAuth2 or API Key.
- path_mail_hosting_id (required) — The unique identifier (ID) of the mail hosting to request.
- path_mailbox_name (required) — The username (that is the part before the @) of the email address you want to request.
- path_alias (required) — Alias to remove.
- returnFullResponse — Return Full Response
Output shape
a response object confirming deletion (may include details if Return Full Response is enabled)
Success returns a confirmation; errors raise exceptions.
Examples
Example 1: Delete alias 'test' for mailbox 'john.doe@example.com' using OAuth2
authentication: oauth2, path_mail_hosting_id: 12345, path_mailbox_name: john.doe, path_alias: test, returnFullResponse: false
Example 2: Delete alias 'old-alias' using API Key with full response
authentication: apiKey, path_mail_hosting_id: 54321, path_mailbox_name: john.doe, path_alias: old-alias, returnFullResponse: true
Example 3: Attempt deletion without providing mailbox name (validation error)
authentication: oauth2, path_mail_hosting_id: 12345, path_mailbox_name: , path_alias: test, returnFullResponse: false