Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Mailboxes > Accesses > Devices → List Device Access For A User

AI-generated

Summary

List device accesses for a specific user using specified authentication and mailbox details.

Inputs

  • authentication — Authentication method (OAuth2 or API Key), default OAuth2.
  • path_service_mail (required) — ID of the mail hosting to request.
  • path_mailbox_name (required) — Username (part before @) of the email address.
  • path_user_id (required) — ID of the user to list accesses for.
  • queryParameters — Additional query options such as pagination, ordering, and extra data.
  • returnAll — If true, returns all items; otherwise respects limit.
  • limit — Maximum number of items to return (1-500).
  • returnFullResponse — If true, includes full response; otherwise limited response.

Output shape

an array of device access objects

Result includes device access details; pagination and optional query parameters may affect the number and structure of items returned.

Examples

Example 1: List device accesses for a user using OAuth2

authentication=oauth2; path_service_mail=1; path_mailbox_name=john; path_user_id=123; limit=50

Example 2: List device accesses with API key and pagination

authentication=apiKey; path_service_mail=2; path_mailbox_name=jane; path_user_id=456; query_parameters={page:1, per_page:25}

Example 3: Fetch full response for all accesses

authentication=oauth2; path_service_mail=1; path_mailbox_name=admin; path_user_id=789; returnAll=true; returnFullResponse=true

Links

Discussion