Kindly note that only all relationships in remote cluster have been deleted, this cluster is allowed to be removed. Otherwise, the error "RemoteCluster[name:cluster1] can't be deleted because it is used by ccr" will be popped up.
curl -u shiva:shiva -XDELETE 'localhost:8902/hippo/v1/_ccr/delete_remote_cluster/{pattern}?pretty'
Result:
{
"acknowledged" : true
}
Parameter description:
Parameters | Description | Required |
---|---|---|
pattern | Relationship name | Yes, supports using asterisk (*) wildcard character |