Storage: Trash: RemoveTrash
RemoveTrash
Removes a file/folder from trash.
Authentication Methods
- With a username and password
Input Parameter | Type | Description |
---|---|---|
Token | String | Security token |
FileServerName* | String | FileServer name |
Path* | String | Path to a directory or file in the trash directory |
VersionID* | String | VersionID |
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 |
EXAMPLES
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&VersionID=1645092499.383058'
RESPONSE
<Response>
<Status>1</Status>
<Message></Message>
<TaskID>91f4adbf-e104-80f8-3b7c-20c43e27a00c</TaskID>
</Response>