---
title: "Abandon an upload and free what it reserved."
method: DELETE
path: "/ai/conversations/{public_id}/attachment-uploads/{upload_id}"
tags: ["AI Chat"]
---

# Abandon an upload and free what it reserved.

`DELETE /ai/conversations/{public_id}/attachment-uploads/{upload_id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/ai/conversations/{public_id}/attachment-uploads/{upload_id}`
- Auth: HTTP bearer

## Path parameters

- `public_id` string, required
- `upload_id` string, required

## Response `204`

Upload cancelled (or already gone)

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions

## Changes

> 81 revisions in range; 1 not diffed.

- **2026-10-20** `79089e9f49ee`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/ai/conversations/:public_id/attachment-uploads/:upload_id/delete.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) · [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) · [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/ab6d5d19e930?raw)
