Pause a follower Generally available; Added in 6.5.0
Pause a cross-cluster replication follower index. The follower index will not fetch any additional operations from the leader index. You can resume following with the resume follower API. You can pause and resume a follower index to change the configuration of the following task.
Required authorization
- Cluster privileges:
manage_ccr
POST /{index}/_ccr/pause_follow
Console
POST /follower_index/_ccr/pause_follow
resp = client.ccr.pause_follow( index="follower_index", )
const response = await client.ccr.pauseFollow({ index: "follower_index", });
response = client.ccr.pause_follow( index: "follower_index" )
$resp = $client->ccr()->pauseFollow([ "index" => "follower_index", ]);
curl -X POST -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/follower_index/_ccr/pause_follow"
Response examples (200)
A successful response from `POST /follower_index/_ccr/pause_follow`, which pauses a follower index.
{ "acknowledged" : true }