删除指定的 OpenSearch 弹性计划。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
opensearch:RemoveElasticPlan |
delete |
*全部资源
|
无 | 无 |
请求语法
DELETE /v4/openapi/app-groups/{appGroupIdentity}/elastic-plans/{planId} HTTP/1.1
路径参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| appGroupIdentity |
string |
否 |
应用名称 |
app_group_name |
| planId |
integer |
否 |
弹性计划 id。 |
11 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
当前API无需请求参数
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| requestId |
string |
请求 ID。 |
0A6EB64B-B4C8-CF02-810F-E660812972FF |
| httpCode |
integer |
HTTP 状态码。 |
200 |
| code |
string |
异常状态码 |
ElasticPlan.NotFound |
| message |
string |
异常信息 |
Elastic plan not found |
| result |
object |
删除成功后返回空对象。 |
{} |
删除成功时返回 HTTP 200 和空对象 result。
{
"requestId": "0A6EB64B-B4C8-CF02-810F-E660812972FF",
"result": {}
}
示例
正常返回示例
JSON格式
{
"requestId": "0A6EB64B-B4C8-CF02-810F-E660812972FF",
"httpCode": 200,
"code": "ElasticPlan.NotFound",
"message": "Elastic plan not found",
"result": {}
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?