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

# Delete a file

`DELETE /file/{file_id}`

## Path parameters

- `file_id` integer, required

## Response `200`

OK

---

[API](https://skmtc.net/nextcloud/apis/passman-api.md) · [All operations](https://skmtc.net/nextcloud/apis/passman-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nextcloud/passman-api/versions/79e52d7d686a/schema)
