Link Search Menu Expand Document Documentation Menu

You're viewing version 2.12 of the OpenSearch documentation. This version is no longer maintained. For the latest version, see the current documentation. For information about OpenSearch version maintenance, see Release Schedule and Maintenance Policy.

Delete a memory

Introduced 2.12

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

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.

Parameter Data type Description
memory_id String The ID of the memory to be deleted.

Example request

DELETE /_plugins/_ml/memory/MzcIJX8BA7mbufL6DOwl

Example response

{
  "success": true
}
350 characters left

Have a question? .

Want to contribute? or .