跳到正文
本页尚未翻译成中文,以下为英文原文。 查看英文版

Delete a memory ​

Introduced 2.12

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 ​

json
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 ​

json
DELETE /_plugins/_ml/memory/MzcIJX8BA7mbufL6DOwl

Example response ​

json
{
  "success": true
}