---
title: "Cancels a multipart upload"
method: DELETE
path: "/layers/{layerId}/data/{dataHandle}/multiparts/{multiPartToken}"
tags: ["blob"]
---

# Cancels a multipart upload

`DELETE /layers/{layerId}/data/{dataHandle}/multiparts/{multiPartToken}`

Cancels an entire multipart upload operation. You can only cancel a multipart upload before it has been completed. Please keep in mind that the actual URL for this operation must be obtained from the response body of start multipart operation that is 'POST /layers/{layerId}/data/{dataHandle}/multiparts' from the 'delete' element under the top level 'links' element of the response.

## Path parameters

- `layerId` string, required
- `dataHandle` string, required
- `multiPartToken` string, required

## Query parameters

- `billingTag` string

## Response `204`

Deleted - the multi part upload.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found - multipart upload doesn't exist.

---

[API](https://skmtc.dev/here/apis/query-api-v1.md) · [All operations](https://skmtc.dev/here/apis/query-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/here/query-api-v1/revisions/30e5d2645407/schema)
