---
title: "Delete File"
method: DELETE
path: "/studio/v1/library/files/{file_id}"
tags: ["Library management"]
---

# Delete File

`DELETE /studio/v1/library/files/{file_id}`

Delete the specified file from the library.

**Restrictions**:
Files in `PROCESSING` status cannot be deleted. Attempts to delete such files will result in a <span style="color:red">422</span> error.

## Path parameters

- `file_id` string, uuid, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

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