---
title: "Remove a video file from a collection"
method: DELETE
path: "/collections/{collection_id}/videos/{file_id}"
tags: ["Collections"]
---

# Remove a video file from a collection

`DELETE /collections/{collection_id}/videos/{file_id}`

## Request

- Base URL: `https://api.cloudglue.dev/v1`
- URL: `https://api.cloudglue.dev/v1/collections/{collection_id}/videos/{file_id}`
- Auth: HTTP bearer

Remove a video file from a collection

## Path parameters

- `collection_id` string, required
- `file_id` string, required

## Response `200`

Successful removal

- CollectionFileDelete
  - `collection_id` string, required: ID of the collection
  - `file_id` string, required: ID of the file
  - `object` 'collection_file', required: Object type, always 'collection_file'

## Other responses

- `404`: Collection or file not found
- `500`: An unexpected error occurred on the server

## Changes

- **2026-10-30** `23d3f240819f`: 2 info
  - added the optional property `code` to the response with the `404` status
  - added the optional property `code` to the response with the `500` status

[Operation history](https://skmtc.dev/cloudglue/apis/cloudglue-api/changes/collections/:collection_id/videos/:file_id/delete.md)

---

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