---
title: "Hard-delete a file"
method: DELETE
path: "/agents/files/{fileId}"
tags: ["Files"]
---

# Hard-delete a file

`DELETE /agents/files/{fileId}`

## Request

- Base URL: `https://api.mobilerun.ai`
- URL: `https://api.mobilerun.ai/agents/files/{fileId}`
- Auth: HTTP bearer

## Path parameters

- `fileId` string, uuid, required

## Response `200`

Deleted

- object
  - `ok` true, required

## Other responses

- `401`: Unauthorized
- `404`: Not Found
- `500`: Internal Server Error

## Changes

- **2026-10-16** `4ad548c528a8`: 1 info
  - endpoint added
- **2026-06-18** `e61cfb7119bc`: 1 breaking
  - api path removed without deprecation
- **2026-06-09** `00b02e335076`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/droidrun/apis/droidrun-cloud/changes/agents/files/:fileId/delete.md)

---

[API](https://skmtc.dev/droidrun/apis/droidrun-cloud.md) - [All operations](https://skmtc.dev/droidrun/apis/droidrun-cloud/llms.txt) - [OpenAPI document](https://skmtc.dev/droidrun/apis/droidrun-cloud/revisions/1cc95586c933?raw)
