---
title: "Delete Upload"
method: DELETE
path: "/v1/buckets/{bucket_identifier}/uploads/{upload_id}"
tags: ["Bucket Uploads"]
---

# Delete Upload

`DELETE /v1/buckets/{bucket_identifier}/uploads/{upload_id}`

Cancel an upload and optionally delete the S3 object.

    Cannot cancel uploads with status COMPLETED.
    Can cancel uploads with status: PENDING, IN_PROGRESS, FAILED.

## Path parameters

- `bucket_identifier` string, required — The unique identifier of the bucket
- `upload_id` string, required — The unique identifier of the upload

## Query parameters

- `delete_s3_object` boolean — Whether to delete the S3 object

## Response `204`

Successful Response

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/mixpeek/apis/mixpeek-api.md) · [All operations](https://skmtc.net/mixpeek/apis/mixpeek-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mixpeek/mixpeek-api/versions/220a3b263fda/schema)
