You're viewing version 3.5 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 Context Management API
Introduced 3.5
Use this API to delete a context management configuration. Once deleted, the context management can no longer be used by agents.
Deleting a context management configuration does not affect the agents currently using it. However, new agent registrations or executions will not be able to reference the deleted context management.
Endpoints
DELETE /_plugins/_ml/context_management/<context_management_name>
Path parameters
The following table lists the available path parameters.
| Parameter | Data type | Required/Optional | Description |
|---|---|---|---|
context_management_name | String | Required | The name of the context management to delete. |
Example request
DELETE /_plugins/_ml/context_management/advanced-context-management
Example response
{
"context_management_name": "advanced-context-management",
"status": "deleted"
}
Related documentation
For more information, see Context management.