Shuts down Deployment
开发环境
http://127.0.0.1
开发环境
http://127.0.0.1
POST
/deployments/{deployment_id}/_shutdown
Deployments
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1/deployments//_shutdown' \
--header 'Authorization: ApiKey {{EC_API_KEY}}'
响应示例响应示例
200 - 示例 1
{
"id": "string",
"orphaned": {
"appsearch": [
"string"
],
"elasticsearch": [
{
"dependents": [
{
"kind": "string",
"id": "string"
}
],
"id": "string"
}
],
"enterprise_search": [
"string"
],
"kibana": [
"string"
],
"apm": [
"string"
]
},
"name": "string"
}
请求参数
Path 参数
deployment_id
必需
Query 参数
hide
可选
skip_snapshot
可选
Header 参数
Authorization
string
可选
默认值:
ApiKey {{EC_API_KEY}}