Delete a collection of cross-cluster replication auto-follow patterns.
Required authorization
- Cluster privileges:
manage_ccr
Query parameters
-
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
-1to indicate that the request should never timeout.External documentation
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" client.ccr().deleteAutoFollowPattern(d -> d .name("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 }