ActiveTransfer Server 10.15 | webMethods ActiveTransfer Documentation | Administering ActiveTransfer Server | API Support for HTTP file operations | Renaming a file or folder
 
Renaming a file or folder
Use this API to rename a file or folder.
Payload type
Body
Headers
form-data (key-value)
renameFrom: <source filename>
Authorization
renameTo: <target filename>
Content-Type:
multipart/form-data; boundary=<calculated when the request is sent>
JSON
{
"path":"/local1/",
"renameFrom":"test1/",
"renameTo":"test1111"
}
Authorization
Content-Type: application/json
Response
{
"success": "true" <If API request is success and false in case of failure>,
"responseMessage": " < message associated with the operation.> "
}