# Take an asset out of the bin

`POST /assets/{id}/restore` · Rivier · files

Take an asset out of the bin.

- Scope: files:write
- Mcp: rivier_assets_restore
- Graphql: Mutation.filesAssetRestore
- Sdk: files.asset.restore
- Cli: files asset restore

## Parameters

- `id` (path, required), string

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/assets/{id}/restore' \
  -H 'Authorization: Bearer $KEY'
```
