---
title: "Delete a session"
method: DELETE
path: "/api/sessions/{session}"
tags: ["sessions"]
---

# Delete a session

`DELETE /api/sessions/{session}`

## Path parameters

- `session` string, uuid, required

## Response `204`

Session (and kernel) were deleted

## Other responses

- `410` — Kernel was deleted before the session, and the session was *not* deleted (TODO - check to make sure session wasn't deleted)

## Changes

- **2026-07-17** `b6f1ce06c896` — 1 breaking
  - added the new path request parameter `session`
- **2025-12-10** `e9ae9d653401` — 1 warning
  - deleted the `path` request parameter `session`

[Change history](https://skmtc.dev/google/apis/jupyter-server-api/changes/api/sessions/:session/delete.md)

---

[API](https://skmtc.dev/google/apis/jupyter-server-api.md) · [All operations](https://skmtc.dev/google/apis/jupyter-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/jupyter-server-api/revisions/b6f1ce06c896/schema)
