---
title: "Delete a file"
method: DELETE
path: "/files/{file_id}"
tags: ["files"]
---

# Delete a file

`DELETE /files/{file_id}`

Removes a file from the org's library: the stored object and the library entry, including its delivery history. Copies already delivered to phones are not affected (they are wiped when the phone is released).

## Path parameters

- `file_id` string, uuid, required — file identifier to delete

## Response `200`

OK

- DeleteFileOutputBody — Confirmation that the file was deleted.
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `message` string, required

## Other responses

- `default` — Error

## Changes

- **2026-07-23** `5a989777701c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/axilioai/apis/axilio-api/changes/files/:file_id/delete.md)

---

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