Shutdown Deployment Stateless Resource
开发环境
http://127.0.0.1
开发环境
http://127.0.0.1
POST
/deployments/{deployment_id}/{stateless_resource_kind}/{ref_id}/_shutdown
Deployments
Kibana cannot be shut down on Elasticsearch Service as it is required for Elasticsearch administrative functions, such as Snapshot Lifecycle Management and version upgrades.
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1/deployments////_shutdown' \
--header 'Authorization: ApiKey {{EC_API_KEY}}'
响应示例响应示例
200 - 示例 1
{
"warnings": [
{
"message": "string",
"code": "string"
}
]
}
请求参数
Path 参数
deployment_id
必需
stateless_resource_kind
必需
ref_id
必需
Query 参数
hide
可选
skip_snapshot
可选
Header 参数
Authorization
string
可选
默认值:
ApiKey {{EC_API_KEY}}