Set remote clusters
PUT
{{baseUrl}}/deployments/:deployment_id/elasticsearch/:ref_id/remote-clusters
Overwrites or creates the remote clusters for the elasticsearch resource.
Body
PARAM
Key |
Datatype |
Required |
Description |
HEADERS
Key |
Datatype |
Required |
Description |
Content-Type
|
string |
|
|
RESPONSES
status
curl -X PUT 'https://api.elastic-cloud.com/api/v1//deployments/:deployment_id/elasticsearch/:ref_id/remote-clusters' -H 'Content-Type: application/json' -d '{"resources":[{"alias":"sit anim","deployment_id":"voluptate ex proident nostrud cillum","elasticsearch_ref_id":"cupidatat adipisicing dolore occaecat","info":{"compatible":false,"connected":false,"healthy":true,"trusted":false,"trusted_back":false},"skip_unavailable":false},{"alias":"in quis in officia","deployment_id":"dolore Ut veniam","elasticsearch_ref_id":"in est ullamco enim exercitation","info":{"compatible":true,"connected":true,"healthy":false,"trusted":false,"trusted_back":false},"skip_unavailable":true}]}'