---
title: "Delete File"
method: DELETE
path: "/v1/files/{file_id}"
tags: ["Files"]
---

# Delete File

`DELETE /v1/files/{file_id}`

## Request

- Base URL: `https://api.skyvern.com`
- URL: `https://api.skyvern.com/v1/files/{file_id}`
- Auth: none declared

Delete a previously uploaded file.

A file that does not exist, was already deleted, or belongs to another organization all
answer 404 alike — the endpoint must not tell a caller whether someone else's file id
exists.

## Path parameters

- `file_id` string, required

## Headers

- `x-api-key` string, nullable: Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-08** `04df18172f4d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/skyvern-ai/apis/skyvern-api/changes/v1/files/:file_id/delete.md)

---

[API](https://skmtc.dev/skyvern-ai/apis/skyvern-api.md) - [All operations](https://skmtc.dev/skyvern-ai/apis/skyvern-api/llms.txt) - [OpenAPI document](https://skmtc.dev/skyvern-ai/apis/skyvern-api/revisions/22eb83913dde?raw)
