---
title: "DELETE /documents/v2/files/{file_id}"
method: DELETE
path: "/documents/v2/files/{file_id}"
tags: ["files_v2"]
---

# DELETE /documents/v2/files/{file_id}

`DELETE /documents/v2/files/{file_id}`

## Path parameters

- `file_id` string, required

## Response `204`

File deleted successfully

## Other responses

- `400` — Invalid request. This error can occur if the file ID is not valid, or if the file does not exist.
- `401` — Unauthorized. Invalid or missing credentials
- `403` — Forbidden. You do not have permission to access this resource
- `500` — Something went wrong on our side. Please reach out to support@tensorlake.ai for assistance.

---

[API](https://skmtc.net/tensorlakeai/apis/tensorlake-api.md) · [All operations](https://skmtc.net/tensorlakeai/apis/tensorlake-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tensorlakeai/tensorlake-api/revisions/fb161f7c0ab7/schema)
