---
title: "Delete Session"
method: DELETE
path: "/api/chat/session/{session_id}"
tags: ["Chat"]
---

# Delete Session

`DELETE /api/chat/session/{session_id}`

Delete a session and its messages.

## Path parameters

- `session_id` string, required — Identifier for the session to be deleted.

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

> 3 revisions in range; 1 not diffed.

- **2023-11-13** `ac1f1ab68fcb` — 2 info
  - the endpoint scheme security `OAuth2PasswordBearerCookie` was added to the API
  - the endpoint scheme security `BasicAuth` was removed from the API
- **2023-11-08** `dbd91277da05` — 3 info
  - the endpoint scheme security `BasicAuth` was added to the API
  - the endpoint scheme security `APIKeyAuth` was removed from the API
  - the endpoint scheme security `OAuth2PasswordBearerCookie` was removed from the API

[Change history](https://skmtc.dev/chat-fly/apis/chatfly-backend-application/changes/api/chat/session/:session_id/delete.md)

---

[API](https://skmtc.dev/chat-fly/apis/chatfly-backend-application.md) · [All operations](https://skmtc.dev/chat-fly/apis/chatfly-backend-application/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chat-fly/chatfly-backend-application/revisions/cbb37496f138/schema)
