---
title: "Abort file upload"
method: DELETE
path: "/api/v1/files/uploads/{upload_id}"
tags: ["Files"]
---

# Abort file upload

`DELETE /api/v1/files/uploads/{upload_id}`

## Request

- Base URL: `https://api.studio.kaitoi.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.studio.kaitoi.io/api/v1/files/uploads/{upload_id}`
- Auth: HTTP bearer

Aborts a pending upload session and releases its storage reservation.

## Path parameters

- `upload_id` string, required

## Headers

- `authorization` string, nullable

## Response `204`

Upload session aborted or already absent.

## Other responses

- `401`: Missing, malformed, expired, or revoked bearer token.
- `403`: The API key lacks the required scope or account capability.
- `422`: Validation Error
- `429`: The client or API key exceeded the REST API rate limit.
- `503`: The shared REST API rate limiter is temporarily unavailable.

---

[API](https://skmtc.dev/kaitoi/apis/kaitoi-rest-api.md) · [All operations](https://skmtc.dev/kaitoi/apis/kaitoi-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kaitoi/apis/kaitoi-rest-api/revisions/239a74aa2c64?raw)
