调用UnbindSmartAccessGateway将智能接入网关从指定的云连接网中解绑。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 否 | UnbindSmartAccessGateway |
执行的操作。 取值: UnbindSmartAccessGateway |
CcnId | String | 是 | ccn-kygbldwikz******** |
云连接网ID。 |
RegionId | String | 是 | cn-hangzhou |
智能接入网关的所属区域。 |
SmartAGId | String | 是 | sag-0ovhf732a******** |
智能接入网关的ID。 |
SmartAGUid | Long | 否 | 1688401595963306 |
智能接入网关实例的用户ID。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | CE6642D4-21EB-4168-9BF9-F217953F9892 |
请求ID。 |
示例
请求示例
http(s)://[Endpoint]/?Action=UnbindSmartAccessGateway
&CcnId=ccn-kygbldwikz********
&RegionId=cn-hangzhou
&SmartAGId=sag-0ovhf732a********
&<公共请求参数>
正常返回示例
XML
格式
<UnbindSmartAccessGatewayResponse>
<RequestId>CE6642D4-21EB-4168-9BF9-F217953F9892</RequestId>
</UnbindSmartAccessGatewayResponse>
JSON
格式
{
"RequestId":"CE6642D4-21EB-4168-9BF9-F217953F9892"
}
错误码
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
403 | MissingParameter | The input parameter is missing, please check your input. | 输入参数缺失,请检查您的输入 |
403 | InvalidId.SMARTAG | The specified smart access gateway instance id is invalid. | 无效的智能接入网关ID |
403 | SmartAccessGatewayNotBind | The instance has not yet been bound. | 该实例未被绑定 |
403 | Forbidden | User not authorized to operate on the specified resource. | 用户没有操作此资源的权限 |
500 | SmartAccessGatewayNotActivated | The specified Smart Access Gateway has not been activated. | 该智能接入网关尚未激活,请先激活该实例。 |
403 | AlreadyBound.CEN | This instance has been bound, please unbind first. | 该实例已经绑定了云企业网,请先解绑 |
400 | SAG.DedicatedLineExist | This SAG instance is used as a backup for a leased line. Unbind the SAG instance from the leased line first. | 当前SAG实例配置了专线备份,请先解绑。 |
403 | NotBoundCCN | The specified smart access gateway has not bound CCN; please bind CCN first. | 该智能接入网关没有绑定CCN;请先绑定CCN。 |
400 | NotBoundCEN | Bind the specified CCN instance to a CEN instance first. | 当前CCN实例还未绑定CEN,请先绑定。 |
403 | VbrConflict.ChangeSubnet | The subnet of the gateway conflicts with the VBR. Modify the subnet first. | 该智能接入网关的子网网段与VBR有冲突,请修改子网网段。 |
访问错误中心查看更多错误码。
在文档使用中是否遇到以下问题
更多建议
匿名提交