---
title: "Restores a media/folder from trash to its original location."
method: POST
path: "/1/vod/channel/{channel}/browse/trash/{file}/restore"
tags: ["V2 > Browse"]
---

# Restores a media/folder from trash to its original location.

`POST /1/vod/channel/{channel}/browse/trash/{file}/restore`

## Request

- Base URL: `https://api.infomaniak.com`
- URL: `https://api.infomaniak.com/1/vod/channel/{channel}/browse/trash/{file}/restore`
- Auth: none declared

## Path parameters

- `channel` integer, required
- `file` integer, required

## Response `200`

OK

- Response
  - `result` 'success' | 'error' | 'asynchronous', required: Result of the HTTP request

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) - [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) - [OpenAPI document](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/revisions/96ca7c8a0545?raw)
