---
title: "DELETE /api/v1/files/{fileNodeId}"
method: DELETE
path: "/api/v1/files/{fileNodeId}"
---

# DELETE /api/v1/files/{fileNodeId}

`DELETE /api/v1/files/{fileNodeId}`

## Request

- Base URL: `https://falconer.com` (the document declares no server; this is the origin it was published from)
- URL: `https://falconer.com/api/v1/files/{fileNodeId}`
- Auth: none declared

Delete a file placed in the navigation, with its nav item. Documents that embed it keep a reference that reports the file missing.

## Path parameters

- `fileNodeId` string, required: File id: the fileNodeId of a type file nav item or a placed upload.

## Headers

- `x-organization-id` string: Required when using OAuth bearer tokens.

## Response `200`

File deleted

- DeletedLibraryFile
  - `id` string, required
  - `deleted` true, required

## Other responses

- `403`: Not allowed to delete the file
- `404`: File not found, or not visible to the caller

## Changes

- **2026-10-20** `7b303b7ddf6a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/falconer/apis/falconer-public-api/changes/api/v1/files/:fileNodeId/delete.md)

---

[API](https://skmtc.dev/falconer/apis/falconer-public-api.md) · [All operations](https://skmtc.dev/falconer/apis/falconer-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/falconer/apis/falconer-public-api/revisions/7b303b7ddf6a?raw)
