Infomaniak Kdrive icon

Infomaniak Kdrive

Interact with Infomaniak Kdrive API

Actions178

Drive > Files > Trash → Empty Trash

AI-generated

Summary

Empties the trash for the specified Infomaniak Kdrive.

Inputs

  • path_drive_id (required) — the drive identifier
  • authentication (required) — Authentication method; default OAuth2, supports API Key
  • returnFullResponse — Return the full API response if true, otherwise normalized items

Output shape

boolean or API response object depending on returnFullResponse setting

Indicates success or returns the raw API response from Infomaniak.

Examples

Example 1: Empty trash for drive ID 42 using OAuth2

path_drive_id=42, authentication=oauth2, returnFullResponse=false

Links

Discussion