Infomaniak Kdrive icon

Infomaniak Kdrive

Interact with Infomaniak Kdrive API

Actions178

Drive > Files > Trash → Remove File

AI-generated

Summary

Removes the specified file to the trash in Infomaniak Kdrive.

Inputs

  • authentication — Authentication method to use for the Infomaniak API.
  • path_drive_id (required) — the drive identifier
  • path_file_id (required) — the file identifier
  • returnFullResponse — Whether to return the full API response.

Output shape

Returns the API response if returnFullResponse is true, otherwise returns the parsed item representing the removed file.

path_drive_id and path_file_id are required parameters. authentication defaults to OAuth2 if not specified. returnFullResponse defaults to false.

Links

Discussion