调用DeleteACLRule删除访问控制规则。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DeleteACLRule |
系统规定参数。取值:DeleteACLRule。 |
RegionId | String | 是 | cn-hangzhou |
需要删除的访问控制规则所属地域ID。 |
AclId | String | 是 | acl-xhwhyuo43l0n***** |
需要删除的访问规则所属的访问控制ID。 |
AcrId | String | 是 | acr-c1hkd054qywiw****** |
需要删除的访问控制规则ID。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 39E71162-699A-4E02-AF0F-17621BA6AEF6 |
请求ID。 |
示例
请求示例
http(s)://[Endpoint]/?Action=DeleteACLRule
&AclId=acl-xhwhyuo43l0n*****
&AcrId=acr-c1hkd054qywiw******
&RegionId=cn-hangzhou
&<公共请求参数>
正常返回示例
XML
格式
HTTP/1.1 200 OK
Content-Type:application/xml
<?xml version="1.0" encoding="UTF-8" ?>
<DeleteACLRule>
<RequestId>39E71162-699A-4E02-AF0F-17621BA6AEF6</RequestId>
</DeleteACLRule>
JSON
格式
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "39E71162-699A-4E02-AF0F-17621BA6AEF6"
}
错误码
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.ACL | The specified ACL ID is invalid. | 无效的ACL组ID。 |
403 | InvalidId.ACR | The specified ACL rule ID is invalid. | 您输入的ACL规则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 | InternalError | An internal server error occurred. | 内部服务错误。 |
访问错误中心查看更多错误码。