Delete a behavioral analytics collection Deprecated Technical preview; Added in 8.8.0

DELETE /_application/analytics/{name}

The associated data stream is also deleted.

Path parameters

  • name string Required

    The name of the analytics collection to be deleted

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • acknowledged boolean Required

      For a successful response, this value is always true. On failure, an exception is returned instead.

DELETE /_application/analytics/{name}
DELETE _application/analytics/my_analytics_collection/ 
resp = client.search_application.delete_behavioral_analytics( name="my_analytics_collection", )
const response = await client.searchApplication.deleteBehavioralAnalytics({ name: "my_analytics_collection", });
response = client.search_application.delete_behavioral_analytics( name: "my_analytics_collection" )
$resp = $client->searchApplication()->deleteBehavioralAnalytics([ "name" => "my_analytics_collection", ]);
curl -X DELETE -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_application/analytics/my_analytics_collection/"