功能介绍:查询实例当前危险命令开关的开启状态。
GET https://[endpoint].ctapi.ctyun.cn/v1/securityMgrServant/queryRenameCommand
Content-Type:application/ form-data
URI参数说明:
参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
---|---|---|---|---|
prodInstId | 873780530431132672 | String | 是 | 实例ID |
返回参数说明:
参数名 | 示例值 | 参数类型 | 参数描述 |
---|---|---|---|
code | core.ok | String | 响应码描述 |
returnObj | Object | 响应对象 | |
returnObj.renameStatus | false | Boolean | 危险开关状态。false:未开启, true:开启 |
message | success | String | 响应信息 |
statusCode | 800 | int | 响应状态码 |
请求示例:
GET https://dcs2-global.ctapi.ctyun.cn/v1/securityMgrServant/queryRenameCommand?prodInstId=873780530431132672
返回示例:
{
"code": "core.ok",
"returnObj": {
"renameStatus": false
},
"message": "success",
"statusCode": 800
}