---
title: "Delete a single file in a volume"
method: DELETE
path: "/files"
tags: ["pv"]
---

# Delete a single file in a volume

`DELETE /files`

Delete base_path/rel_path; deleting a non-existent file is idempotent

## Query parameters

- `base_path` string, required
- `rel_path` string, required

## Response `200`

OK

- PkgServerVolumefsDeleteResponse
  - `deleted` boolean

---

[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)
