Link Search Menu Expand Document Documentation Menu

You're viewing version 3.2 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 Memory Container API

Introduced 3.2

This is an experimental feature and is not recommended for use in a production environment. For updates on the progress of the feature or if you want to leave feedback, join the discussion on the OpenSearch forum.

Use this API to delete a memory container by its ID.

Endpoint

DELETE /_plugins/_ml/memory_containers/{memory_container_id}

Example request

DELETE /_plugins/_ml/memory_containers/SdjmmpgBOh0h20Y9kWuN

Example response

{
    "_index": ".plugins-ml-memory-container",
    "_id": "SdjmmpgBOh0h20Y9kWuN",
    "_version": 3,
    "result": "deleted",
    "forced_refresh": true,
    "_shards": {
        "total": 2,
        "successful": 2,
        "failed": 0
    },
    "_seq_no": 6,
    "_primary_term": 1
}
350 characters left

Have a question? .

Want to contribute? or .