Synology Drive icon

Synology Drive

Synology Drive / FileStation operations

Rename

AI-generated

Summary

Rename a file or folder in Synology Drive by specifying its current path and a new name.

Inputs

  • Path — The current path of the file or folder to rename. Defaults to root directory ('/').
  • New Name (required) — The new name to assign to the file or folder.
  • Extra Params (JSON) — Additional optional parameters as a JSON object to include in the rename request.

Output shape

a single JSON object representing the operation result from the Synology API, including success status and any returned data or error information.

The returned object directly reflects the API response; if the rename is successful, it will indicate success and relevant file data. On failure, it will contain error details. No pagination or multiple items are involved.

Links

Discussion