---
title: "Deletes a single Knowledge Base Entry using the `id` field"
method: DELETE
path: "/api/security_ai_assistant/knowledge_base/entries/{id}"
tags: ["Security AI Assistant API"]
---

# Deletes a single Knowledge Base Entry using the `id` field

`DELETE /api/security_ai_assistant/knowledge_base/entries/{id}`

**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/knowledge_base/entries/{id}</span></div>

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

Delete a Knowledge Base Entry by its unique `id`.

## Path parameters

- `id` string, nonempty, required — A string that does not contain only whitespace characters.

## Response `200`

Successful request returning the `id` of the deleted Knowledge Base Entry.

- SecurityAIAssistantAPIDeleteResponseFields
  - `id` string, nonempty, required — A string that does not contain only whitespace characters.

## 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)
