删除指定环境下的K8s资源
接口URL:/v1/env/deleteResource
Content-Type:application/json
请求方式:post
请求体参数说明:
参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
---|---|---|---|---|
envId | String | String | 是 | 环境ID |
instIdList | Array | Array | 是 | 实例ID列表 |
请求示例:
{
"envId": "29b25b16-0b71-48ae-8e82-3746a052b98d",
"instIdList": [
"813708046147519488"
]
}
返回参数说明:
参数名 | 示例值 | 参数类型 | 参数描述 |
---|---|---|---|
statusCode | Integer | Integer | 响应编码 2000 success |
message | String | String | 消息内容 |
returnObj | Object | Object | 返回数据 |
error | String | String | 调用错误时返回的错误编码 |
返回示例:成功
{"statusCode":2000,"message":"成功","returnObj":{}}
返回示例:失败
{"statusCode":191251,"error":"MSAP_1251","message":"非法的环境ID"}