调用DisassociateACL将智能接入网关实例跟访问控制解绑。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
AclId | String | 是 | acl-xhwhyuo43l0******* |
访问控制ID。 |
RegionId | String | 是 | cn-hangzhou |
地域ID。 |
SmartAGId | String | 是 | sag-ke3kq4evpi8******** |
需要与访问控制解绑的智能接入网关实例ID。 |
Action | String | 否 | DisassociateACL |
要执行的操作。 取值:DisassociateACL |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | B28A9AB3-05BD-4A88-AB6A-A555A0BF70C0 |
请求ID。 |
示例
请求示例
http(s)://[Endpoint]/?AclId=acl-xhwhyuo43l0*******
&RegionId=cn-hangzhou
&SmartAGId=sag-ke3kq4evpi8********
&<公共请求参数>
正常返回示例
XML
格式
<DisassociateACL>
<RequestId>00546174-2CE6-4587-9550-04B6A3313938</RequestId>
</DisassociateACL>
JSON
格式
{
"RequestId":"B28A9AB3-05BD-4A88-AB6A-A555A0BF70C0"
}
错误码
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
403 | Forbidden | User not authorized to operate on the specified resource. | 用户没有操作此资源的权限 |
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 | FeatureNotSupport | The current edition of the smart access gateway does not support this feature. | 智能接入网关当前版本不支持该功能特性 |
403 | FeatureNotSupportForActiveSmartAG | The current edition of the active smart access gateway does not support this feature. | 主智能接入网关的当前版本不支持该功能特性 |
403 | FeatureNotSupportForStandBySmartAG | The current edition of the standby smart access gateway does not support this feature. | 备智能接入网关的当前版本不支持该功能特性 |
403 | InvalidId.ACL | The specified ACL ID is invalid. | 无效的ACL组ID |
403 | SmartAGNotAssociateAcl | The specified smart access gateway is not associated with the specified ACL. | 您选择的智能接入网关没有和您选择的ACL组绑定 |
403 | InternalError | An internal server error occurred. | 内部服务错误 |
访问错误中心查看更多错误码。