Adds the specified values to the Elasticsearch keystore, or removes the keys for the unspecified values.
请求示例请求示例
Shell
JavaScript
Java
Swift
curl--location--request GET 'http://127.0.0.1/deployments//elasticsearch//keystore' \
--header'Authorization: ApiKey {{EC_API_KEY}}'
响应示例响应示例
200 - 示例 1
请求参数
Path 参数
Header 参数
返回响应
🟢200The new value for the keystore contents
application/json
Body
🟠404* The Deployment specified by {deployment_id} cannot be found. (code: `deployments.deployment_not_found`)
* The Resource specified by {ref_id} cannot be found. (code: `deployments.deployment_resource_not_found`)
🟠449Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)
🔴500We have failed you. (code: `deployments.metadata_internal_error`)