Actions178
- Drive Actions
- Drive > Activity Actions
- Drive > Activity > Report Actions
- Drive > Files Actions
- Drive > Files > Action Actions
- Drive > Files > Archive Actions
- Drive > Files > Category Actions
- Drive > Files > Category > Right Actions
- Drive > Files > Dropbox Actions
- Drive > Files > External Import Actions
- Drive > Files > Favorite Actions
- Drive > Files > File/Directory Actions
- Drive > Files > File/Directory > Access Actions
- Drive > Files > File/Directory > Access > Invitation Actions
- Drive > Files > File/Directory > Access > Request Actions
- Drive > Files > File/Directory > Access > Teams Actions
- Drive > Files > File/Directory > Access > Users Actions
- Drive > Files > File/Directory > Comment Actions
- Drive > Files > File/Directory > Upload Actions
- Drive > Files > File/Directory > Upload > Session Actions
- Drive > Files > File/Directory > Version Actions
- Drive > Files > Search Actions
- Drive > Files > Share Link > Archive Actions
- Drive > Files > Share Link > Manage Actions
- Drive > Files > Trash Actions
- Drive > Invitations Actions
- Drive > Settings Actions
- Drive > Statistics Actions
- Drive > Users Actions
- Others Actions
- Users Actions
Drive > Files > File/Directory > Version → Delete
AI-generatedSummary
Deletes a specific version of a file or directory in Infomaniak Kdrive.
Inputs
- authentication — Authentication method to use for the Infomaniak API request. Defaults to OAuth2 if not specified. Select OAuth2 or API Key based on your configuration.
- path_drive_id (required) — Identifier of the drive containing the file or directory. Must be a numeric drive ID.
- path_file_id (required) — Identifier of the file or directory whose version will be deleted. Must be a numeric file/directory ID.
- path_version_id (required) — Identifier of the specific version to delete. Must be a numeric version ID.
- returnFullResponse — Boolean flag controlling the output format. When true, the full Infomaniak API response is returned; when false (default), a standard n8n item representing the deletion result is emitted.
Output shape
Depends on returnFullResponse. If false (default), emits a single n8n item indicating successful deletion. If true, returns the complete API response payload as raw data.
The operation consumes the drive ID, file ID, and version ID to construct a DELETE request via the Infomaniak API. The node's source implementation (InfomaniakKdrive.node.js and GenericFunctions.js) uses the infomaniakApiRequest helper to execute the request, consistent with the package's established API interaction pattern.
Examples
Example 1: Delete a specific version of a file using OAuth2 authentication.
Set authentication to OAuth2, provide the drive ID, file ID, and version ID. Leave returnFullResponse at its default false setting.