# Empty the trash of a vault

`DELETE /api/v1/vaults/{vault}/trash`

Delete everything in the trash of a vault for good. This cannot be undone.

The files the items held are let go of, and are removed from storage once nothing else points at them.

## Path parameters

- `vault` (string, required): The vault the trash belongs to, named either by the readable name it reports as slug or by its id.

## Returns

Nothing at all. A vault of another account answers 404.

## Rate limit

Sixty requests per minute, per user, shared by every key and device. Every answer carries the budget left in `X-RateLimit-Remaining`.

## Request

```sh
curl https://people.hansyeoh.com/api/v1/vaults/dunder-mifflin/trash \
  -X DELETE \
  -H "Authorization: Bearer $MONICA_TOKEN"
```

```javascript
const response = await fetch('https://people.hansyeoh.com/api/v1/vaults/dunder-mifflin/trash', {
  method: 'DELETE',
  headers: { Authorization: `Bearer ${token}` },
})
```

```php
$response = Http::withToken($token)->delete('https://people.hansyeoh.com/api/v1/vaults/dunder-mifflin/trash');
```

## Response

`204`, with no body.
