SunLink icon

SunLink

SunLink 博客 API 完整集成节点 (自动登录)

📎 文件管理 (File) → ✏️ 重命名 (Rename)

AI-generated

Summary

Rename a file in the SunLink file management system by specifying its current file ID and the desired new name.

Inputs

  • sourceId (required) — The ID of the source file to rename.
  • newName (required) — The new name to assign to the file.

Output shape

a single JSON object representing the renamed file or the API response confirming the rename action.

The output data is returned as JSON from the SunLink API rename endpoint. Errors during renaming throw an error unless 'Continue On Fail' is enabled, in which case error information is included in the output.

Discussion