---
title: "Delete conversations"
method: DELETE
path: "/api/security_ai_assistant/current_user/conversations"
tags: ["Security AI Assistant API"]
---

# Delete conversations

`DELETE /api/security_ai_assistant/current_user/conversations`

**Spaces method and path for this operation:**

<div><span class="operation-verb delete">delete</span>&nbsp;<span class="operation-path">/s/{space_id}/api/security_ai_assistant/current_user/conversations</span></div>

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

This endpoint allows users to permanently delete all conversations.

## Request body

- object
  - `excludedIds` string[] — Optional list of conversation IDs to delete.

## Response `200`

Indicates a successful call. The conversations were deleted successfully.

- object
  - `failures` string[]
  - `success` boolean
  - `totalDeleted` number

## Other responses

- `400` — Bad Request response.

---

[API](https://skmtc.net/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.net/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/kibana-apis/versions/531c9e2a7d23/schema)
