NOTE: You are looking at documentation for an older release. For the latest information, see the current release documentation.
Delete auto-follow pattern API
editDelete auto-follow pattern API
editDelete auto-follow patterns.
Description
editThis API deletes a configured collection of auto-follow patterns.
Request
editDELETE /_ccr/auto_follow/<auto_follow_pattern_name>
Path Parameters
edit-
auto_follow_pattern_name
(required) - (string) specifies the auto-follow pattern collection to delete
Authorization
editIf the Elasticsearch security features are enabled, you must have manage_ccr
cluster
privileges on the cluster that contains the follower index. For more information,
see Security privileges.
Example
editThis example deletes an auto-follow pattern collection named
my_auto_follow_pattern
:
DELETE /_ccr/auto_follow/my_auto_follow_pattern
The API returns the following result:
{ "acknowledged" : true }