Infomaniak Kdrive icon

Infomaniak Kdrive

Interact with Infomaniak Kdrive API

Actions178

Drive > Settings → Update Preferences

AI-generated

Summary

Updates Infomaniak Kdrive preferences.

Inputs

  • authentication — Authentication method to use for the API request. Defaults to OAuth2 if not specified. Select 'OAuth2' or 'API Key'.
  • path_drive_id (required) — The identifier of the Infomaniak Kdrive. Must be provided as a numeric value.
  • bodyParameters — Optional collection of additional fields to include in the request body. Each field is optional and can be combined as needed.

Output shape

Success boolean or full API response body depending on the returnFullResponse setting.

If returnFullResponse is set to true, the complete API response is returned; otherwise, a success indicator is provided.

Examples

Example 1: Update preferences using OAuth2 authentication for drive ID 12345, setting color and default page.

authentication: OAuth2; path_drive_id: 12345; bodyParameters: { body_color: '#ff0000', body_default_page: 'common' }; returnFullResponse: false

Links

Discussion