---
title: "Unlink User File From Project"
method: DELETE
path: "/user/projects/{project_id}/files/{file_id}"
tags: ["public"]
---

# Unlink User File From Project

`DELETE /user/projects/{project_id}/files/{file_id}`

Unlink an existing user file from a specific project for the current user.

Does not delete the underlying file; only removes the association.

## Path parameters

- `project_id` integer, required
- `file_id` string, uuid, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/onyx-dot-app/apis/agents-api.md) · [All operations](https://skmtc.net/onyx-dot-app/apis/agents-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onyx-dot-app/agents-api/versions/ea131344b29e/schema)
