Delete Remote Cluster

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:

ParametersDescriptionRequired
patternRelationship nameYes, supports using asterisk (*) wildcard character
Table 54 Delete Remote Cluster (Restful API)