Restore from Trash
POST/api/v1/trash/{itemId}/restore
Restore a file or folder from the trash back to its original location. If the original parent folder no longer exists, the item is restored to the root directory.
Headers
AuthorizationstringRequired
Bearer token for authentication
Content-TypestringRequired
application/json
Path Parameters
itemIdstringRequired
The unique identifier of the file or folder to restore
Body
typestringOptional
Type of item to restore. If not provided, the system will auto-detect.
POST/api/v1/trash/{itemId}/restore
Response