---
title: "Delete a direct x402 upload"
method: DELETE
path: "/v1/uploads/{id}"
tags: ["Upload"]
---

# Delete a direct x402 upload

`DELETE /v1/uploads/{id}`

## Request

- Base URL: `https://api.munition.io`
- URL: `https://api.munition.io/v1/uploads/{id}`
- Auth: none required

Munition Upload Delete: x402-paid direct HTTP deletion for an existing Munition direct-upload file. Pay 0.001 USDC via x402 on Base, Polygon, Arbitrum, or Solana to let the original paying wallet delete the hosted object and mark the upload deleted.

## Path parameters

- `id` string, required

## Response `200`

Deleted direct upload

- DirectDeleteOutput
  - `id` string, required: Munition upload id.
  - `status` 'deleted', required: Deletion status.
  - `deleted` true, required: Whether the file is now deleted.
  - `deletedAt` string, date-time, required: When the file was marked deleted.
  - `expiresAt` string, date-time, required: Original or current file expiration timestamp.

## Other responses

- `402`: x402 payment required or settlement failed
- `403`: Payment wallet does not own this upload
- `404`: Upload not found

---

[API](https://skmtc.dev/munition/apis/munition-api.md) · [All operations](https://skmtc.dev/munition/apis/munition-api/llms.txt) · [OpenAPI document](https://skmtc.dev/munition/apis/munition-api/revisions/3b11109809d1?raw)
