云日志服务 LTS-修改主机组:响应示例

时间:2023-11-01 16:16:14

响应示例

状态码: 200

更新主机组请求响应成功

{    "host_group_id" : "598c77aa-c69b-42f0-8cb8-983178b38",    "host_group_name" : "devspore_app_dzhou1",    "host_group_type" : "linux",    "host_id_list" : ["dc1dab7e-b045-4e77-bda4-914d3f7", "xxxxx"],    "host_group_tag" : [{            "key" : "xxx",            "value" : "xxx"        }    ],    "create_time" : 16351494332,    "update_time" : 16351494332}

状态码: 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/lts_api_1020.html