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 → Update Aliases
AI-generatedSummary
Update mailbox aliases on an Infomaniak mail hosting account.
Inputs
- authentication — Authentication method: either OAuth2 or API Key.
- path_mail_hosting_id (required) — The ID of the mail hosting that contains the target mailbox.
- path_mailbox_name (required) — The username part of the email address for the mailbox to update.
- body_aliases (required) — JSON object representing the list of alias email addresses to set.
- returnFullResponse — If true, the full updated mailbox response is returned; otherwise only a success indicator.
Output shape
updated mailbox object or success indicator
When returnFullResponse is true the full response is emitted; otherwise the operation resolves with a simple success flag.
Examples
Example 1: Update aliases using OAuth2 authentication
authentication: oauth2, path_mail_hosting_id: 5, path_mailbox_name: john.doe, body_aliases: {"aliases":["john.doe+work@example.com","john.doe+personal@example.com"]}
Example 2: Update aliases using API Key authentication
authentication: apiKey, path_mail_hosting_id: 5, path_mailbox_name: john.doe, body_aliases: {}, returnFullResponse: true
Example 3: Update aliases for a different mailbox with full response
authentication: oauth2, path_mail_hosting_id: 7, path_mailbox_name: jane.doe, body_aliases: {}, returnFullResponse: true