---
title: "Remove upload session"
method: DELETE
path: "/files/upload_sessions/{upload_session_id}"
tags: ["Uploads (Chunked)"]
---

# Remove upload session

`DELETE /files/upload_sessions/{upload_session_id}`

Abort an upload session and discard all data uploaded.

This cannot be reversed.

The actual endpoint URL is returned by the [`Create upload session`](https://developer.box.com/reference/post-files-upload-sessions)
and [`Get upload session`](https://developer.box.com/reference/get-files-upload-sessions-id) endpoints.

## Path parameters

- `upload_session_id` string, required

## Response `204`

A blank response is returned if the session was
successfully aborted.

## Other responses

- `default` — An unexpected client error.

---

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