Migrate Elasticsearch and associated Kibana resources to enable CCR
开发环境
http://127.0.0.1
开发环境
http://127.0.0.1
POST
/deployments/{deployment_id}/elasticsearch/{ref_id}/_enable-ccr
Deployments
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1/deployments//elasticsearch//_enable-ccr' \
--header 'Authorization: ApiKey {{EC_API_KEY}}'
响应示例响应示例
200 - 示例 1
{
"warnings": [
{
"message": "string",
"code": "string"
}
]
}
请求参数
Path 参数
deployment_id
必需
ref_id
必需
Query 参数
validate_only
可选
true
, will not enable CCR but returns warnings if any elements may lose availability during CCR enablementHeader 参数
Authorization
string
可选
默认值:
ApiKey {{EC_API_KEY}}