原文地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/ccr-delete-auto-follow-pattern.html, 原文档版权归 www.elastic.co 所有
IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Delete auto-follow pattern APIedit
Delete auto-follow patterns.
Requestedit
DELETE /_ccr/auto_follow/<auto_follow_pattern_name>
Prerequisitesedit
-
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.
Descriptionedit
This API deletes a configured collection of auto-follow patterns.
Path parametersedit
-
<auto_follow_pattern_name>
- (Required, string) Specifies the auto-follow pattern collection to delete.
Examplesedit
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 }