You're viewing version 2.14 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 connector
Deletes a standalone connector. For more information, see Connectors.
Path and HTTP methods
DELETE /_plugins/_ml/connectors/<connector_id>
Example request
DELETE /_plugins/_ml/connectors/KsAo1YsB0jLkkocY6j4U
Example response
{
"_index" : ".plugins-ml-connector",
"_id" : "KsAo1YsB0jLkkocY6j4U",
"_version" : 1,
"result" : "deleted",
"_shards" : {
"total" : 2,
"successful" : 2,
"failed" : 0
},
"_seq_no" : 27,
"_primary_term" : 18
}