---
title: "Delete a file"
method: DELETE
path: "/v1/files/{id}"
tags: ["Files"]
---

# Delete a file

`DELETE /v1/files/{id}`

## Request

- Base URL: `https://api.together.ai`
- URL: `https://api.together.ai/v1/files/{id}`
- Auth: HTTP bearer

Delete a previously uploaded data file.

## Path parameters

- `id` string, required: The ID of the file to delete

## Response `200`

File deleted successfully

- FileDeleteResponse
  - `id` string
  - `deleted` boolean

## Changes

- **2026-10-22** `bb5257b3173a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/together/apis/together-apis/changes/v1/files/:id/delete.md)

---

[API](https://skmtc.dev/together/apis/together-apis.md) - [All operations](https://skmtc.dev/together/apis/together-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/together/apis/together-apis/revisions/93438ddac711?raw)
