---
title: "Abort multipart upload"
method: POST
path: "/v1/files/uploads/{upload_id}/abort"
tags: ["files"]
---

# Abort multipart upload

`POST /v1/files/uploads/{upload_id}/abort`

Abort a multipart upload and clean up any uploaded parts.

## Path parameters

- `upload_id` string, uuid, required — The ID of the multipart upload to abort

## Response `200`

The details of the aborted upload

- FileDeleted
  - `id` string, required — The ID of the deleted file
  - `deleted` boolean — Whether the file was deleted
  - `object` 'file' — The type of the deleted object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mixedbread/apis/mxbai-omni.md) · [All operations](https://skmtc.net/mixedbread/apis/mxbai-omni/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mixedbread/mxbai-omni/versions/2eece97b5ae5/schema)
