---
title: "Delete a file or folder"
method: DELETE
path: "/files/"
tags: ["files"]
---

# Delete a file or folder

`DELETE /files/`

Delete a file or folder at the specified path, with optional recursive deletion for directories

## Query parameters

- `path` string, required
- `recursive` boolean

## Response `204`

No Content

---

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