---
title: "DELETE /files/{fileId}"
method: DELETE
path: "/files/{fileId}"
---

# DELETE /files/{fileId}

`DELETE /files/{fileId}`

Delete a previously uploaded file.

## Path parameters

- `fileId` string, required

## Response `200`

The request has succeeded.

- FileDeletionStatus — A status response from a file deletion operation.
  - `id` string, required — The ID of the resource specified for deletion.
  - `deleted` boolean, required — A value indicating whether deletion was successful.
  - `object` 'file', required — The object type, which is always 'file'.

---

[API](https://skmtc.net/azure/apis/ai-openai-assistants-openapiv2.md) · [All operations](https://skmtc.net/azure/apis/ai-openai-assistants-openapiv2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/ai-openai-assistants-openapiv2/revisions/453a64f820f0/schema)
