Infomaniak Kdrive icon

Infomaniak Kdrive

Interact with Infomaniak Kdrive API

Actions178

Drive > Files > File/Directory → Trash

AI-generated

Summary

Trashes the specified file or directory in Infomaniak Kdrive.

Inputs

  • authentication — Authentication method to use for the Infomaniak API. Supports OAuth2 or API Key. Defaults to OAuth2 if not specified.
  • path_drive_id (required) — Identifier of the drive containing the file or directory to trash.
  • path_file_id (required) — Identifier of the file or directory to move to trash.
  • returnFullResponse — If true, the full API response is returned; otherwise, a standard n8n item indicating success is returned. Defaults to false.

Output shape

Standard n8n item on success, or full Infomaniak API response if returnFullResponse is enabled.

Both path_drive_id and path_file_id are required. The operation moves the target file/directory to the trash folder within the specified drive.

Links

Discussion