---
title: "Delete File"
method: DELETE
path: "/api/v1/files/{file_path}"
tags: ["files"]
---

# Delete File

`DELETE /api/v1/files/{file_path}`

Delete a file at the specified path.

- Deletes only one file with the given file path. Not bulk deletion.
- If there is no file at the specified path, the operation will be a no-op, i.e., it will still return a 204 status code.

## Path parameters

- `file_path` string, required

## Response `204`

File deleted successfully

## Other responses

- `401` — Unauthorized
- `403` — Permission denied
- `404` — File not found
- `422` — Validation Error
- `500` — Internal server error

---

[API](https://skmtc.dev/askui/apis/askui-workspaces-api.md) · [All operations](https://skmtc.dev/askui/apis/askui-workspaces-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/askui/askui-workspaces-api/revisions/b796c74292ac/schema)
