---
title: "Changes to Cancel session"
method: DELETE
path: "/2/drive/{drive_id}/upload/session/{session_token}"
---

# Changes to Cancel session

`DELETE /2/drive/{drive_id}/upload/session/{session_token}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 40 revisions.

- **2026-10-26** `e6daf54dcb44`: 3 warning

## Changes

- **2026-10-26** `e6daf54dcb44`: 3 warning
  - added the new `forbidden_error` enum value to the `allOf[subschema #2]/error/code` response property for the response status `403`
  - added the new `invalid_upload_token_error` enum value to the `allOf[subschema #2]/error/code` response property for the response status `400`
  - added the new `upload_error` enum value to the `allOf[subschema #2]/error/code` response property for the response status `400`

---

[Operation](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/docs/2/drive/:drive_id/upload/session/:session_token/delete.md) - [API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) - [Page](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/changes/2/drive/:drive_id/upload/session/:session_token/delete)
