---
title: "Delete File Upload"
method: DELETE
path: "/v1/convai/conversations/{conversation_id}/files/{file_id}"
tags: ["Agents Platform"]
---

# Delete File Upload

`DELETE /v1/convai/conversations/{conversation_id}/files/{file_id}`

## Request

- Base URL: `https://api.elevenlabs.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.elevenlabs.io/v1/convai/conversations/{conversation_id}/files/{file_id}`
- Auth: none declared

Remove a file upload from a conversation. Only possible if the file hasn't already been used in the conversation.

## Path parameters

- `file_id` string, required
- `conversation_id` string, required

## Headers

- `xi-api-key` string, nullable: Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

## Response `200`

Successful Response

- ConvAIFileUploadResponseModel
  - `file_id` string, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-04-03** `deb5e58ddddf`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/changes/v1/convai/conversations/:conversation_id/files/:file_id/delete.md)

---

[API](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation.md) - [All operations](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/revisions/d04f5e77c40a?raw)
