---
title: "Delete File"
method: DELETE
path: "/v1/files/{file_id}"
---

# Delete File

`DELETE /v1/files/{file_id}`

Delete an uploaded file early, before its TTL expires.

## Path parameters

- `file_id` string, required

## Headers

- `x-api-key` string, required — API key for authentication

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

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