Skip to main content
Version: 0.12.0

Delete a memory

Introduced 0.5.0
warning

Deprecated as of 0.12.0. The /_plugins/_ml/memory/* conversation-CRUD API is deprecated in favor of the org-tenant-scoped Conversation management API (/_plugins/_memory/conversations). This route still works for backward compatibility but emits a deprecation warning.

Use this API to delete a memory based on the memory_id.

important

When the Security plugin is enabled, all memories exist in a private security mode. Only the user who created a memory can interact with that memory and its messages.

Path and HTTP methods

DELETE /_plugins/_ml/memory/<memory_id>

Path parameters

The following table lists the available path parameters.

ParameterData typeDescription
memory_idStringThe ID of the memory to be deleted.

Example request

DELETE /_plugins/_ml/memory/MzcIJX8BA7mbufL6DOwl

Example response

{
"success": true
}