---
title: "Delete Agent File"
method: DELETE
path: "/me/agents/{agent_id}/files/{file_id}"
tags: ["User API"]
---

# Delete Agent File

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

Delete an agent file

## Path parameters

- `agent_id` string, uuid, required
- `file_id` string, uuid, required

## Response `204`

Successfully deleted agent file

## Other responses

- `403` — Not authorized to access this file
- `404` — File not found
- `422` — Validation Error

---

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