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

# DELETE /v0/files/{fileId}

`DELETE /v0/files/{fileId}`

Delete a file.

## Path parameters

- `fileId` string, required

## Response `200`

OK

- object
  - `object` 'file', required
  - `id` string, required
  - `deleted` true, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/witanlabs/apis/witan-labs-api.md) · [All operations](https://skmtc.net/witanlabs/apis/witan-labs-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/witanlabs/witan-labs-api/versions/69e42ddaf375/schema)
