---
title: "Delete an inactive Assistant session"
method: DELETE
path: "/v5/agent/{sessionId}"
tags: ["Agent"]
---

# Delete an inactive Assistant session

`DELETE /v5/agent/{sessionId}`

## Request

- Base URL: `https://api.kadoa.com`
- URL: `https://api.kadoa.com/v5/agent/{sessionId}`
- Auth: none declared

Deletes the session and its related data. Only inactive sessions with a customer-facing thread can be deleted. Re-sending after a successful delete returns 404, which callers should treat as already done.

## Path parameters

- `sessionId` string, uuid, required

## Response `204`

Session deleted

## Other responses

- `400`: sessionId is not a UUID
- `404`: Session not found for the authenticated team
- `409`: Session is active, or has no customer-facing thread

---

[API](https://skmtc.dev/kadoa/apis/kadoa-api.md) · [All operations](https://skmtc.dev/kadoa/apis/kadoa-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kadoa/apis/kadoa-api/revisions/bf7803c927b4?raw)
