Mailboxes > Accesses > Webmail

Check right on several mailboxes

Changed on

User check if the user has the named right across all the specified mailboxes

post/1/mail_hostings/mailboxes/permissions/check

Request

  • Base URL
    https://api.infomaniak.com
  • URL
    https://api.infomaniak.com/1/mail_hostings/mailboxes/permissions/check
  • Auth
    HTTP bearer

Request body

permission'can_access_logs' | 'can_change_password' | 'can_configure_mail_folders' | 'can_delegate' | 'can_manage_aliases' | 'can_manage_auto_reply' | 'can_manage_filters' | 'can_manage_redirections' | 'can_manage_rules' | 'can_manage_security' | 'can_manage_signatures' | 'can_restore_emails' | 'can_send_emails' required

The list of available mailbox permissions.<note><strong>can_access_logs</strong>: Allows the user to access logs.</note><note><strong>can_change_password</strong>: Allows the user to change their password.</note><note><strong>can_configure_mail_folders</strong>: Allows the user to configure mail folders.</note><note><strong>can_delegate</strong>: Allows the user to delegate permissions to others.</note><note><strong>can_manage_aliases</strong>: Allows the user to manage email aliases.</note><note><strong>can_manage_auto_reply</strong>: Allows the user to manage auto-replies.</note><note><strong>can_manage_filters</strong>: Allows the user to manage email filters.</note><note><strong>can_manage_redirections</strong>: Allows the user to manage redirections.</note><note><strong>can_manage_rules</strong>: Allows the user to manage mailbox rules.</note><note><strong>can_manage_security</strong>: Allows the user to manage security settings.</note><note><strong>can_manage_signatures</strong>: Allows the user to manage signatures.</note><note><strong>can_restore_emails</strong>: Allows the user to restore emails.</note><note><strong>can_send_emails</strong>: Allows the user to send emails.</note>

Example request

{
  "permission": "can_access_logs"
}

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

databoolean

Example response

{
  "result": "success"
}

Changes