---
title: "Abort a multipart upload"
method: POST
path: "/bus/multipart/abort"
tags: ["bus"]
---

# Abort a multipart upload

`POST /bus/multipart/abort`

Aborts an ongoing multipart upload and removes any uploaded parts.

## Request body

- object
  - `bucket` string — The name of the bucket.
  - `key` string
  - `uploadID` string — A unique identifier for a multipart upload

## Response `200`

Successfully aborted multipart upload

## Other responses

- `404` — Upload not found
- `500` — Internal server error

## Changes

- **2025-01-23** `c38282599c5a` — 1 breaking
  - added the pattern `^[0-9a-fA-F]{64}$` to the request property `uploadID`
- **2024-12-18** `922f156353c9` — 2 breaking, 1 info
  - removed the media type `text/plain` for the response with the status `404`
  - removed the media type `text/plain` for the response with the status `500`
  - api tag `bus` added
- **2024-12-17** `a3a866454789` — 1 info
  - endpoint added
- **2024-12-09** `f062c35d8f47` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/siafoundation/apis/renterd-api/changes/bus/multipart/abort/post.md)

---

[API](https://skmtc.dev/siafoundation/apis/renterd-api.md) · [All operations](https://skmtc.dev/siafoundation/apis/renterd-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/siafoundation/renterd-api/revisions/184a3d5207da/schema)
