RemoveTrash

Removes a file/folder from trash.

Authentication Methods


  1. With a username and password
  2. Using Kerberos
Input Parameter Type Description
Token String Security token
FileServerName String FileServer name
Path String Path to a directory or file in the trash directory
Async Boolean Do the cleaning asynchronous, use the GetAsynchronousTaskStatus api call with the TaskID to get the status
Output Parameter Type Description
--- --- ---
Success Status Returns status code
CURL EXAMPLE
curl -v 'https://storage.example.com/storage/api.php?Token=ms28lbbsql627i3ftmoq2j00q2&ID=91f4adbf-e104-80f8-3b7c-20c43e27a00c&Task=RemoveTrash& FileserverName=nmsa000002&Path=/mydirectory/myfile.txt'
RESPONSE
<Response>
    <Status>1</Status>
    <Message></Message>
    <TaskID>91f4adbf-e104-80f8-3b7c-20c43e27a00c</TaskID>
</Response>