重命名
POST
Tokenheader
api-token<token>32位令牌,在控制面板《个人设置 - 令牌管理》页面获取
application/json- body
path*string绝对路径
name*string新的名称
返回重命名结果,成功为 true
response?booleanapplication/jsoncurl -X POST 'http://localhost:5678/api/open/file/v1/rename' \ -H 'Content-Type: application/json' \ -d '{ "path": "string", "name": "string"}'示例响应200
true
