---
title: "Delete a project file through acknowledged audited cleanup"
method: DELETE
path: "/api/project-file/:projectId"
tags: ["Project files"]
---

# Delete a project file through acknowledged audited cleanup

`DELETE /api/project-file/:projectId`

## Request

- Base URL: `https://api.cernion.de`
- URL: `https://api.cernion.de/api/project-file/:projectId`
- Auth: none declared

## Path parameters

- `projectId` string, required

## Query parameters

- `token` string

## Request body

- object
  - `token` string: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

## Response `200`

Tenant-scoped project result

- object
  - `deleted` boolean
  - `projectId` string

## Other responses

- `404`: Project absent or invisible to the authenticated principal
- `409`: Project archived or deletion in progress
- `503`: Deletion incomplete; retry after cleanup recovery

---

[API](https://skmtc.dev/cernion/apis/cernion-energy-tools-api.md) · [All operations](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/revisions/cdb94473b538?raw)
