---
title: "Delete File"
method: DELETE
path: "/api/workspace/file"
tags: ["workspace-editor"]
---

# Delete File

`DELETE /api/workspace/file`

REST fallback: Delete file or directory.

## Query parameters

- `path` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/deeptrace/apis/fastapi.md) · [All operations](https://skmtc.net/deeptrace/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deeptrace/fastapi/versions/1af581120ec0/schema)
