---
title: "delete_upload"
method: DELETE
path: "/v1/uploads/{upload_id}"
tags: ["document-operations"]
---

# delete_upload

`DELETE /v1/uploads/{upload_id}`

## Request

- Base URL: `https://ndi-api.nace.ai`
- URL: `https://ndi-api.nace.ai/v1/uploads/{upload_id}`
- Auth: API key in header `X-API-Key`
- TypeScript: <https://skmtc.dev/nace/apis/ndi-platform-api/docs/v1/uploads/:upload_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Erase an unused upload. A used upload must be removed by deleting its consuming jobs.

## Path parameters

- `upload_id` string, uuid, required

## Response `204`

Successful Response

## Other responses

- `504`: Gateway Timeout
- `default`: Typed error envelope used by every 4xx and 5xx. ``error.code`` distinguishes the failure; HTTP status is a consequence of the code.

---

[API](https://skmtc.dev/nace/apis/ndi-platform-api.md) - [All operations](https://skmtc.dev/nace/apis/ndi-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nace/apis/ndi-platform-api/revisions/d002a3589a67?raw)
