Delete auto-follow pattern APIedit

Warning

This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.

Delete auto-follow patterns.

Descriptionedit

This API deletes a configured collection of auto-follow patterns.

Requestedit

DELETE /_ccr/auto_follow/<auto_follow_pattern_name>

Path Parametersedit

auto_follow_pattern_name (required)
(string) specifies the auto-follow pattern collection to delete

Authorizationedit

If 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.

Exampleedit

This 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
}