Infomaniak Kdrive icon

Infomaniak Kdrive

Interact with Infomaniak Kdrive API

Actions178

Users → Set User's Preference

AI-generated

Summary

Sets user preference configuration for Infomaniak Kdrive.

Inputs

  • authentication — Authentication method to use for the API request. Defaults to OAuth2 if not specified; switch to API Key if using a personal access token instead of an OAuth2 token pair stored in n8n credentials.
  • bodyParameters — Collection of preference fields to submit to the Infomaniak Kdrive API. Each field corresponds to a specific user preference setting; unspecified fields are omitted from the request body.
  • returnFullResponse — When enabled, the raw API response body is passed through as the node's output item. When disabled (default), the node returns a standardized n8n item reflecting the operation result.

Output shape

Standard n8n item. If returnFullResponse is true, the item contains the full Infomaniak API response; otherwise, the item reflects the operation result with typical n8n node output fields.

The operation invokes the internal infomaniakApiRequest function (defined in GenericFunctions.js) to send a request to the Infomaniak Kdrive API endpoint for updating user preferences. The authentication parameter determines whether OAuth2 or API Key headers/credentials are used. All body sub-fields (body_date_format, body_default_drive, body_density, body_list, body_sort_recent_file, body_tutorials, body_use_shortcut) map directly to API parameters; only provided fields are included in the request payload.

Links

Discussion