云日志服务 LTS-删除主机组:响应示例

时间:2023-12-15 10:07:02

响应示例

状态码: 200

删除主机组列表请求响应成功

{
    "result" : [{
            "host_group_id" : "598c77aa-c69b-42f0-8cb8-xxxx5b38",
            "host_group_name" : "devspoxxxou1",
            "host_group_type" : "lxxux",
            "host_id_list" : ["dc1dab7e-b04xxxx", "xxxxx"],
            "host_group_tag" : [{
                    "key" : "xxx",
                    "value" : "xxx"
                }, {
                    "key" : "xxx",
                    "value" : "xxx"
                }
            ],
            "create_time" : 1635xx9410332,
            "update_time" : 163xx0332
        }
    ],
    "total" : 1
}

状态码: 400

非法请求 建议根据error_msg直接修改该请求。

{
  "error_code" : "LTS.1807",
  "error_msg" : "Invalid host group id"
}

状态码: 500

表明服务端能被请求访问到,但是服务内部出错。

{
  "error_code" : "LTS.0010",
  "error_msg" : "Internal Server Error"
}
support.huaweicloud.com/api-lts/DeleteHostGroup.html