{ "src_dir": "/m2", "rename_objects": [ { "src_name": "test.txt", "new_name": "aaas2.txt" } ] }
curl --location --request POST 'http://prod-cn.your-api-server.com/api/fs/regex_rename' \ --header 'Authorization: {{alist_token}}' \ --header 'Content-Type: application/json' \ --data-raw '{ "src_dir": "/m2", "rename_objects": [ { "src_name": "test.txt", "new_name": "aaas2.txt" } ] }'
{ "code": 200, "message": "success", "data": null }