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

# Delete a session

`DELETE /api/sessions/{session}`

## Response `204`

Session (and kernel) were deleted

## Other responses

- `410` — Kernel was deleted before the session, and the session was *not* deleted

---

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