mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 01:22:26 -04:00
* Deprecate Behavioral Analytics CRUD APIs * Add allowed warning for REST Compatibility tests * Update docs/changelog/122960.yaml * Update changelog * Update docs to add deprecation flags and fix failing tests * Update changelog * Update changelog again * Update docs formatting Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com> * Skip asciidoc test --------- Co-authored-by: Efe Gürkan YALAMAN <efeyalaman@gmail.com> Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com> Co-authored-by: Efe Gürkan YALAMAN <efeguerkan.yalaman@elastic.co>
54 lines
1.3 KiB
Text
54 lines
1.3 KiB
Text
[role="xpack"]
|
|
[[delete-analytics-collection]]
|
|
=== Delete Analytics Collection
|
|
|
|
deprecated:[9.0.0]
|
|
beta::[]
|
|
|
|
++++
|
|
<titleabbrev>Delete Analytics Collection</titleabbrev>
|
|
++++
|
|
|
|
.New API reference
|
|
[sidebar]
|
|
--
|
|
For the most up-to-date API details, refer to {api-es}/group/endpoint-analytics[Behavioral analytics APIs].
|
|
--
|
|
|
|
Removes a <<behavioral-analytics-overview,Behavioral Analytics>> Collection and its associated data stream.
|
|
|
|
[[delete-analytics-collection-request]]
|
|
==== {api-request-title}
|
|
|
|
`DELETE _application/analytics/<name>`
|
|
|
|
[[delete-analytics-collection-prereq]]
|
|
==== {api-prereq-title}
|
|
|
|
Requires the `manage_behavioral_analytics` cluster privilege.
|
|
|
|
[[delete-analytics-collection-path-params]]
|
|
==== {api-path-parms-title}
|
|
|
|
`<name>`::
|
|
(Required, string)
|
|
|
|
[[delete-analytics-collection-response-codes]]
|
|
==== {api-response-codes-title}
|
|
|
|
`400`::
|
|
The `name` was not provided.
|
|
|
|
`404` (Missing resources)::
|
|
No Analytics Collection matching `name` could be found.
|
|
|
|
[[delete-analytics-collection-example]]
|
|
==== {api-examples-title}
|
|
|
|
The following example deletes the Analytics Collection named `my_analytics_collection`:
|
|
|
|
[source,console]
|
|
----
|
|
DELETE _application/analytics/my_analytics_collection/
|
|
----
|
|
// TEST[skip:Behavioral Analytics APIs emit deprecation warnings and will not be updated]
|