---
title: "Delete AI chat session"
method: DELETE
path: "/v1/ai/chat/{chat-id}"
tags: ["AI Chat"]
---

# Delete AI chat session

`DELETE /v1/ai/chat/{chat-id}`

Delete an AI chat session and all its history.

## Path parameters

- `chat-id` integer, required

## Response `204`

Chat session deleted successfully

## Other responses

- `400` — Invalid chat ID
- `401` — Unauthorized
- `403` — Access denied
- `404` — Chat session not found

## Changes

- **2026-09-17** `a203de7e5d7d` — 1 info
  - removed the non-success response with the status `503`
- **2026-09-17** `a81265c49fa9` — 1 info
  - added the non-success response with the status `503`

[Change history](https://skmtc.dev/netxms/apis/netxms-api/changes/v1/ai/chat/:chat-id/delete.md)

---

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