Actions36
- List Files
- Search Files
- Download File
- Upload File
- Create Folder
- Rename
- Delete
- Copy / Move
- List Starred Files
- List Recent Files
- List Shared with Me
- List Shared with Others
- Get File Ancestors
- Create Share Link
- List Share Links
- Update Share Permissions
- List Labels
- Create Label
- Update Label
- Delete Label
- Add Label to File
- List Files by Label
- Star File
- Convert Office File
- List Team Folders
- Get Team Folder Members
- Create Webhook
- List Webhooks
- Get Webhook
- Update Webhook
- Delete Webhook
- Get File Thumbnail
- Upload from DSM
- Request Access
- Custom Drive Call
- List Drive APIs
Rename
AI-generatedSummary
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.
