---
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}`

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

---

[API](https://skmtc.net/elevenlabs/apis/elevenlabs-api-documentation.md) · [All operations](https://skmtc.net/elevenlabs/apis/elevenlabs-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elevenlabs/elevenlabs-api-documentation/versions/e77a0a530a82/schema)
