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