Removes the follower retention leases from the leader Added in 6.7.0
Path parameters
-
the name of the leader index for which specified follower retention leases should be removed
Body Required
-
follower_cluster string
-
follower_index string
-
follower_index_uuid string
-
leader_remote_cluster string
POST /{index}/_ccr/forget_follower
curl \
-X POST http://api.example.com/{index}/_ccr/forget_follower \
-H "Content-Type: application/json" \
-d '{"follower_cluster":"string","follower_index":"string","follower_index_uuid":"string","leader_remote_cluster":"string"}'
Request examples
{
"follower_cluster": "string",
"follower_index": "string",
"follower_index_uuid": "string",
"leader_remote_cluster": "string"
}
Response examples (200)
{
"_shards": {
"failed": 42.0,
"successful": 42.0,
"total": 42.0,
"failures": [
{
"index": "string",
"node": "string",
"reason": {
"type": "string",
"reason": "string",
"stack_trace": "string",
"caused_by": {},
"root_cause": [
{}
],
"suppressed": [
{}
]
},
"shard": 42.0,
"status": "string"
}
],
"skipped": 42.0
}
}