Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Mailboxes > Accesses > Webmail → Delete Access To A Mailbox For The Current User

AI-generated

Summary

Delete the current user's webmail access for a specified mailbox

Inputs

  • authentication (required) — Authentication method to use (OAuth2 or API Key)
  • path_mailbox_id (required) — Identifier of the mailbox whose access should be removed
  • returnFullResponse — If true, the full API response is returned; otherwise only success/failure status

Output shape

no body — success/failure only (typically HTTP 204)

May return the full API response when returnFullResponse is true

Examples

Example 1: Remove webmail access for user by ID

{ "authentication": "oauth2", "path_mailbox_id": "12345" }

Example 2: Delete API key access for a specific mailbox

{ "authentication": "apiKey", "path_mailbox_id": "mailbox-abc" }

Links

Discussion