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

# Delete File

`DELETE /v1/files/{file_id}`

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

---

[API](https://skmtc.net/skyvern-ai/apis/skyvern-api-2.md) · [All operations](https://skmtc.net/skyvern-ai/apis/skyvern-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/skyvern-ai/skyvern-api-2/revisions/0e47a2ae6398/schema)
