---
title: "deleteUserSchemaFileCollection"
method: DELETE
path: "/v1/{slug}/collections/{collectionSlug}"
tags: ["File Collections"]
---

# deleteUserSchemaFileCollection

`DELETE /v1/{slug}/collections/{collectionSlug}`

Delete a file collection.

**Note:** Deleting a collection does not delete the files within it.
Files will remain but will no longer be associated with this collection.

## Path parameters

- `slug` string, required
- `collectionSlug` string, required

## Response `200`

File collection deleted successfully

## Other responses

- `401` — Authentication required or invalid credentials
- `404` — The requested resource was not found
- `500` — An unexpected error occurred on the server

---

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