Set certificate based remote clusters
Overwrites or creates the list of certificate based remote clusters for the elasticsearch resource.
Path parameters
-
Identifier for the Deployment.
-
User-specified RefId for the Resource (or '_main' if there is only one).
PUT /deployments/{deployment_id}/elasticsearch/{ref_id}/remote-clusters
curl \
-X PUT https://{{hostname}}/api/v1/deployments/{deployment_id}/elasticsearch/{ref_id}/remote-clusters \
-d '{"resources":[{"deployment_id":"string","elasticsearch_ref_id":"string","alias":"string","skip_unavailable":true}]}'
Request examples
{
"resources": [
{
"deployment_id": "string",
"elasticsearch_ref_id": "string",
"alias": "string",
"skip_unavailable": true
}
]
}
Response examples (202)
{}
Response examples (404)
# Headers
x-cloud-error-codes: deployments.deployment_not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}