---
title: "DELETE /v1/projects/{projectOrProductUID}/devices/{deviceUID}/files"
method: DELETE
path: "/v1/projects/{projectOrProductUID}/devices/{deviceUID}/files"
tags: ["device"]
---

# DELETE /v1/projects/{projectOrProductUID}/devices/{deviceUID}/files

`DELETE /v1/projects/{projectOrProductUID}/devices/{deviceUID}/files`

Deletes Notefiles and the Notes they contain.

## Path parameters

- `projectOrProductUID` string, required
- `deviceUID` string, required

## Request body

- object
  - `files` string[] — Name of notefiles to delete

## Response `200`

An empty object means success

## Other responses

- `default` — The response body in case of an API error.

## Changes

- **2026-07-10** `1887e880199a` — 1 breaking, 6 info
  - the response's body type/format changed from ``/`` to `object`/`` for status `default`
  - added the optional property `debug` to the response with the `default` status
  - added the optional property `details` to the response with the `default` status
  - added the optional property `request` to the response with the `default` status
  - …3 more

[Change history](https://skmtc.dev/notefile/apis/notehub-api/changes/v1/projects/:projectOrProductUID/devices/:deviceUID/files/delete.md)

---

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