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

# Delete a file

`DELETE /credentials/{credential_id}/file/{file_id}`

## Path parameters

- `credential_id` integer, required
- `file_id` integer, required

## Response `200`

OK

## Changes

- **2016-09-08** `e2294e4e3228` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/nextcloud/apis/passman-api/changes/credentials/:credential_id/file/:file_id/delete.md)

---

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