Delete an agent
Introduced 2.13
You can use this API to delete an agent based on the agent_id
.
Path and HTTP methods
DELETE /_plugins/_ml/agents/<agent_id>
Example request
DELETE /_plugins/_ml/agents/MzcIJX8BA7mbufL6DOwl
copy
Example response
{
"_index" : ".plugins-ml-agent",
"_id" : "MzcIJX8BA7mbufL6DOwl",
"_version" : 2,
"result" : "deleted",
"_shards" : {
"total" : 2,
"successful" : 2,
"failed" : 0
},
"_seq_no" : 27,
"_primary_term" : 18
}
当前内容版权归 OpenSearch 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 OpenSearch .