Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Mailboxes > Accesses > Webmail → Delete Webmail Access

AI-generated

Summary

Delete a webmail access for a specific mailbox and user

Inputs

  • authentication (required) — Authentication method (OAuth2 or API Key) used to call the Infomaniak API
  • path_service_mail (required) — The ID of the mail hosting (service) containing the mailbox
  • path_mailbox_name (required) — Username part (before @) of the email address whose webmail access is to be deleted
  • path_user_id (required) — User ID of the email address whose access is to be removed
  • returnFullResponse — If true, the full API response is returned; otherwise only a success indicator is emitted

Output shape

A JSON object indicating deletion success (e.g., {"deleted": true, "id": })

When returnFullResponse is false, only a simple success flag is emitted; errors are propagated as n8n error nodes.

Examples

Example 1: Delete webmail access for john@example.com on service mail ID 2 using API Key

authentication: apiKey; path_service_mail: 2; path_mailbox_name: john; path_user_id: 0; returnFullResponse: false

Example 2: Delete webmail access for user alice with full response, using OAuth2

authentication: oauth2; path_service_mail: 5; path_mailbox_name: alice; path_user_id: 42; returnFullResponse: true

Links

Discussion