Drive > Files > Trash
Remove file
Changed onDelete a file from trash (remove it completely)
delete/2/drive/{drive_id}/trash/{file_id}
Request
- Base URLhttps://api.infomaniak.com
- URLhttps://api.infomaniak.com/2/drive/{drive_id}/trash/{file_id}
- AuthHTTP bearer
Path parameters
drive_idinteger required
the drive identifier
file_idinteger required
the file identifier
Response
OK
Example response
{
"result": "success"
}Changes
- warning
added the new
forbidden_errorenum value to the//response property for the response status
- warning