Unfollow an index Generally available; Added in 6.5.0
Convert a cross-cluster replication follower index to a regular index. The API stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. The follower index must be paused and closed before you call the unfollow API.
Currently cross-cluster replication does not support converting an existing regular index to a follower index. Converting a follower index to a regular index is an irreversible operation.
Required authorization
- Index privileges:
manage_follow_index
POST /{index}/_ccr/unfollow
Console
POST /follower_index/_ccr/unfollow
resp = client.ccr.unfollow( index="follower_index", )
const response = await client.ccr.unfollow({ index: "follower_index", });
response = client.ccr.unfollow( index: "follower_index" )
$resp = $client->ccr()->unfollow([ "index" => "follower_index", ]);
curl -X POST -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/follower_index/_ccr/unfollow"
client.ccr().unfollow(u -> u .index("follower_index") );
Response examples (200)
A successful response from `POST /follower_index/_ccr/unfollow`.
{ "acknowledged" : true }