---
title: "Delete file (v2)"
method: DELETE
path: "/v2/files/{id}"
tags: ["Files"]
---

# Delete file (v2)

`DELETE /v2/files/{id}`

## Request

- Base URL: `https://api.chat.ethora.com`
- URL: `https://api.chat.ethora.com/v2/files/{id}`
- Auth: HTTP bearer

**Auth**: User JWT

delete created by user (JWT owner) by id (v2)

## Path parameters

- `id` string, required

## Response `200`

```
{
    success: boolean,
}
```

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `422`: Unprocessable Entity
- `500`: Internal server error

---

[API](https://skmtc.dev/ethora/apis/platform-api.md) · [All operations](https://skmtc.dev/ethora/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ethora/apis/platform-api/revisions/01b6e64378ee?raw)
