---
title: "Delete Workspace File"
method: DELETE
path: "/api/files/content"
tags: ["workspace-files"]
---

# Delete Workspace File

`DELETE /api/files/content`

## Request body

- WorkspaceFileDeleteRequest
  - `path` string, required
  - `expected_sha256` string, nullable

## Response `200`

Successful Response

- WorkspaceFileDeleteResponse
  - `ok` boolean
  - `path` string, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-09** `232d15eee2b0` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/qredence/apis/fleet-rlm/changes/api/files/content/delete.md)

---

[API](https://skmtc.dev/qredence/apis/fleet-rlm.md) · [All operations](https://skmtc.dev/qredence/apis/fleet-rlm/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/qredence/fleet-rlm/revisions/3e0490b230d7/schema)
