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

# Delete a single file in a volume

`DELETE /files`

## Request

- The document declares no server URL.
- Auth: none declared

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

## Changes

- **2026-07-23** `a12b0f392336`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/tencentblueking/apis/daemon-api/changes/files/delete.md)

---

[API](https://skmtc.dev/tencentblueking/apis/daemon-api.md) - [All operations](https://skmtc.dev/tencentblueking/apis/daemon-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tencentblueking/apis/daemon-api/revisions/b7207bf13d2c?raw)
