Delete auto-follow pattern APIedit

Delete auto-follow patterns.


DELETE /_ccr/auto_follow/<auto_follow_pattern_name>


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


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

Path parametersedit

(Required, string) Specifies the auto-follow pattern collection to delete.


This example deletes an auto-follow pattern collection named my_auto_follow_pattern:

response = client.ccr.delete_auto_follow_pattern(
  name: 'my_auto_follow_pattern'
puts response
DELETE /_ccr/auto_follow/my_auto_follow_pattern

The API returns the following result:

  "acknowledged" : true