Infomaniak Core Ressource icon

Infomaniak Core Ressource

Interact with Infomaniak Core Ressource API

Actions73

User Management > Accounts > Invitations > Drive → Add A Drive Access

AI-generated

Summary

Grant drive access to an Infomaniak invitation by specifying account, invitation, drive ID, and role.

Inputs

  • authentication — Authentication method to use for the API request. Defaults to OAuth2 if not specified.
  • accountId (required) — The Infomaniak account identifier (numeric path).
  • invitationId (required) — The invitation identifier to which drive access is granted (numeric path).
  • driveId (required) — The drive identifier to grant access to (numeric body parameter).
  • role (required) — The role to assign for the drive access. Select 'admin' for full administration rights or 'user' for standard access.
  • returnFullResponse — If true, the full API response is returned as a single item; otherwise n8n's standard item structure is used. Defaults to false.

Output shape

n8n item structure reflecting the API response, potentially a single item containing the full response if returnFullResponse is enabled.

All required parameters (accountId, invitationId, driveId, role) must be provided. Authentication defaults to OAuth2 but can be switched to API Key if configured. The role selection determines the permission level granted to the drive.

Examples

Example 1: Add admin drive access to invitation 42 in account 1, with drive ID 7

Set accountId to 42, invitationId to 42, driveId to 7, role to admin, and authentication to OAuth2 (or API Key). leave returnFullResponse at false unless the full response payload is needed.

Links

Discussion