Path parameters
- name
string Required The auto-follow pattern collection to delete.
Query parameters
- master_timeout
string The period to wait for a connection to the master node. If the master node is not available before the timeout expires, the request fails and returns an error. It can also be set to
-1
to indicate that the request should never timeout.Values are
-1
or0
.
DELETE /_ccr/auto_follow/{name}
Console
DELETE /_ccr/auto_follow/my_auto_follow_pattern
resp = client.ccr.delete_auto_follow_pattern(
name="my_auto_follow_pattern",
)
const response = await client.ccr.deleteAutoFollowPattern({
name: "my_auto_follow_pattern",
});
response = client.ccr.delete_auto_follow_pattern(
name: "my_auto_follow_pattern"
)
$resp = $client->ccr()->deleteAutoFollowPattern([
"name" => "my_auto_follow_pattern",
]);
curl -X DELETE -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_ccr/auto_follow/my_auto_follow_pattern"
Response examples (200)
A successful response from `DELETE /_ccr/auto_follow/my_auto_follow_pattern`, which deletes an auto-follow pattern.
{
"acknowledged" : true
}