# DELETE /v1/files/{file_id}

> Delete it.

In [Files API](https://vestra.ai/developers/reference/api/files.md): Files Bash makes, and files you hand it.

Send `Authorization: Bearer vk_test_...` on every call.

Delete it.

Your API key, scope `runtime` or `all`. On the card: [`files`](https://vestra.ai/developers/files.md). Over HTTP it is made from the contract: fill in each {…} and every value.

## Request

Path:

- `file_id` (`string`, required): The file's id (`file_...`).

## Answers 200

- `id` (`string`): The file (file_...).
- `object` (`"file"`): Always file.
- `deleted` (`true`): Always true: it is gone.

## Code

**TypeScript**

```ts
await vestra.files.delete('file_2kq');
```

**Python**

```python
vestra.files.delete("file_2kq")
```

**CLI**

```bash
vestra files delete file_2kq
```

**HTTP**

```bash
curl -X DELETE "$VESTRA_BASE_URL/v1/files/{file_id}" \
  -H "Authorization: Bearer $VESTRA_API_KEY"
```

**MCP**: No sample in your language for this route, so here it is over HTTP.
