Infomaniak Kdrive icon

Infomaniak Kdrive

Interact with Infomaniak Kdrive API

Actions178

Drive > Files > File/Directory → Rename

AI-generated

Summary

Rename a file or directory in Infomaniak Kdrive.

Inputs

  • authentication — Authentication method to use for the API request.
  • path_drive_id (required) — Drive identifier.
  • path_file_id (required) — File identifier.
  • body_name (required) — Name of the File/Directory.
  • returnFullResponse — Return the full API response instead of parsed items.

Output shape

If returnFullResponse is false, n8n items are generated from the API response. If true, the full API response object is returned.

The operation consumes the drive ID, file/directory ID, and new name. Authentication is selected via the authentication parameter.

Examples

Example 1: Rename a file using OAuth2 authentication.

Select OAuth2 for authentication, provide the drive ID and file ID, and set the new file name.

Links

Discussion