Infomaniak Kdrive icon

Infomaniak Kdrive

Interact with Infomaniak Kdrive API

Actions178

Drive > Files > Dropbox → Update Dropbox

AI-generated

Summary

Updates a Dropbox in Infomaniak Kdrive.

Inputs

  • authentication — Authentication method for the Infomaniak API. Defaults to OAuth2 if not specified. Choose OAuth2 or API Key.
  • path_drive_id (required) — Identifier of the drive containing the dropbox. Must be provided as a number.
  • path_file_id (required) — Identifier of the dropbox to update. Must be provided as a number.
  • bodyParameters — Optional metadata to apply to the dropbox. Collection of fields; each is optional unless specified.

Output shape

Boolean or full API response depending on the returnFullResponse flag. Indicates success or failure of the dropbox update operation.

If returnFullResponse is set to true, the complete API response is returned; otherwise, a success indicator is provided. The bodyParameters collection supports alias, email notification, file size limit, password protection, and validity date configuration.

Examples

Example 1: Update dropbox alias and set expiration

path_drive_id: 123, path_file_id: 456, bodyParameters: { body_alias: 'work-docs', body_valid_until: 1704067200 }, returnFullResponse: false

Links

Discussion