RestoreTrash

Restores a file/folder from trash.

Authentication Methods


  • User Authentication
Input Parameter Type Description
Token* String Security token
FileserverName* String Fileserver name
Path* String Path to a directory or file
NewPath* String Full path to where the file will be saved
VersionID* String VersionID
Output Parameter Type Description
Success Status Returns status code

*=required

CURL EXAMPLE

curl -v 'https://storage.example.com/storage/api.php?Token=aoa8atgb9tqb2lupq508v9ka30&Task=RestoreTrash&Path=/trashfolder/myfile.txt&OriginalPath=/mydirectory/myfile.txt&FileserverName=nmsa000177&VersionID=14d939f2-6e25-4704-ac04-92faa01941c9'

Response:

<Response>
    <Status>1</Status>
    <Message></Message>
</Response>