修改SAG设备管理员密码,适用于设备类型为SCG5000或SCG5000-5G的智能接入网关实例,且设备版本为3.4.2及以上。
接口说明
目前仅设备版本为 3.4.2 及以上的 SCG5000 和 SCG5000-5G 设备支持修改智能接入网关设备管理员密码。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
smartag:UpdateSmartAccessGatewayAdminPassword |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| SagInsId |
string |
是 |
智能接入网关实例 ID。 |
sag-sv487b7lno6go5**** |
| SagSn |
string |
是 |
智能接入网关设备序列号。 |
sagf4ea**** |
| RegionId |
string |
是 |
智能接入网关实例所属的地域 ID。 您可以通过调用 DescribeRegions 接口获取地域 ID。 |
cn-shanghai |
| Password |
string |
是 |
智能接入网关设备新的登录密码。 密码格式要求:长度为 8~30 个字符,可包含大小写字母、数字和下划线(_)。 说明
示例值中使用星号(*)以掩盖真实密码,不表示密码支持使用星号,输入密码时请以密码格式要求为准。 |
1234**** |
| CrossAccount |
boolean |
否 |
是否只查询跨账号所属的智能接入网关实例。取值:
|
false |
| ResourceUid |
string |
否 |
智能接入网关实例所属的阿里云账号(主账号)ID。 |
147304382796**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| Code |
string |
响应码。200 标识查询任务成功。 |
200 |
| Success |
boolean |
修改是否成功。取值:
|
true |
| RequestId |
string |
请求 ID。 |
EC8487CD-9338-5FCF-896A-B6D1BB1646A7 |
| Message |
string |
响应消息。Successful 标识查询任务成功。 |
Successful |
示例
正常返回示例
JSON格式
{
"Code": "200",
"Success": true,
"RequestId": "EC8487CD-9338-5FCF-896A-B6D1BB1646A7",
"Message": "Successful"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | GATEWAY.InvalidSN | The specified gateway serial number does not exist. | |
| 400 | SAG.InstanceNoFound | The specified SAG instance does not exist. | 智能接入网关实例不存在。 |
| 400 | SAG.SoftwareNotSupport | The specified software instance does not support ACL. | |
| 400 | SmartAccessGatewayNotActivated | The specified Smart Access Gateway has not been activated. | 该智能接入网关尚未激活,请先激活该实例。 |
| 400 | MissParameter.GatewayId | The input parameter GatewayId that is mandatory for processing this model is not supplied. | |
| 400 | MissParameter.Password | The input parameter Password that is mandatory for processing this model is not supplied. | |
| 400 | InvalidParameter.Password | The input parameter Password is not legal, please check your input. | |
| 400 | InvalidSpec.FeatureNotSupport | The current edition of the cloudbranch does not support this feature. | |
| 400 | FeatureNotSupport | Cloud Box Not Support the Feature | |
| 400 | DeviceNotExist | The specified device does not exist | |
| 400 | SmartAccessGatewayNotOnline | The specified instance is not online. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。