---
title: "Delete a file from a collection"
method: DELETE
path: "/api_partner/collections/{collection_slug}/files/{file_id}"
tags: ["Collections"]
---

# Delete a file from a collection

`DELETE /api_partner/collections/{collection_slug}/files/{file_id}`

## Request

- Base URL: `https://api.scite.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.scite.ai/api_partner/collections/{collection_slug}/files/{file_id}`
- Auth: HTTP bearer

Only the uploader or a collection editor may delete a file. The file is soft-deleted and
its stored object dropped.

## Path parameters

- `collection_slug` string, required
- `file_id` integer, required

## Query parameters

- `email` string, email, required

## Headers

- `authorization` string: Set to `Bearer <token>` to pass token for authorization.

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-01** `97e32261f535`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/scite/apis/scite-api/changes/api_partner/collections/:collection_slug/files/:file_id/delete.md)

---

[API](https://skmtc.dev/scite/apis/scite-api.md) - [All operations](https://skmtc.dev/scite/apis/scite-api/llms.txt) - [OpenAPI document](https://skmtc.dev/scite/apis/scite-api/revisions/d34bcc742a26?raw)
