Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Mailboxes > Users → Update User Permission

AI-generated

Summary

Update permissions for a specific user in a mailbox on Infomaniak Mail hosting.

Inputs

  • authentication — Authentication method to use (OAuth2 or API Key).
  • path_mail_hosting_id (required) — Identifier of the mail hosting containing the target mailbox.
  • path_mailbox_name (required) — Username part of the email address (mailbox name) to update.
  • path_user_id (required) — User identifier whose permissions are to be modified.
  • body_permissions (required) — JSON object containing the permission configuration to apply.
  • returnFullResponse — If true, the full API response is returned; otherwise only success indicator.

Output shape

an object representing the updated permission entity (including permission details and metadata)

The response includes the updated permissions; may contain additional fields like timestamps or status.

Examples

Example 1: Set read and admin permissions for user john.doe in hosting 12

authentication: oauth2, path_mail_hosting_id: 12, path_mailbox_name: john.doe, path_user_id: 456, body_permissions: {"read": true, "admin": true}, returnFullResponse: true

Links

Discussion