Drive > Files > Trash

Delete a file from trash (remove it completely)

delete/2/drive/{drive_id}/trash/{file_id}

Request

  • Base URL
    https://api.infomaniak.com
  • URL
    https://api.infomaniak.com/2/drive/{drive_id}/trash/{file_id}
  • Auth
    HTTP bearer

Path parameters

drive_idinteger required

the drive identifier

file_idinteger required

the file identifier

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

databoolean

Example response

{
  "result": "success"
}

Changes

    • warning

      added the new forbidden_error enum value to the // response property for the response status