---
title: "Files Destroy"
method: DELETE
path: "/agents/files/{file_id}/"
tags: ["agents"]
---

# Files Destroy

`DELETE /agents/files/{file_id}/`

Delete an uploaded agent file.

DELETE /agents/files/<file_id>/

Org-scoped via SuperAdminMixin — regular users can only delete their
own files; superadmins can delete any file.

## Path parameters

- `file_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

Successful response

---

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