Drive > Files > Trash
Restore file
Restore a specific Directory or File from the trash
post/2/drive/{drive_id}/trash/{file_id}/restore
Request
- Base URLhttps://api.infomaniak.com
- URLhttps://api.infomaniak.com/2/drive/{drive_id}/trash/{file_id}/restore
- AuthHTTP bearer
Path parameters
drive_idinteger required
the drive identifier
file_idinteger required
the file identifier
Request body
Response
OK
Example response
{
"result": "success",
"data": {
"cancel_id": "00000000-e89b-12d3-a456-000000000000"
}
}Changes
No recorded changes to this operation across all 40 revisions of this API.