Deletes an access control list (ACL) for a private gateway. The deleted IP CIDR block can no longer access the private gateway.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eas:DeleteAclPolicy |
delete |
*Gateway
|
None | None |
Request syntax
DELETE /api/v2/gateways/{ClusterId}/{GatewayId}/acl_policy HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
The region ID of the private gateway. |
cn-wulanchabu |
| GatewayId |
string |
Yes |
The private gateway ID. You can obtain this value from the private_gateway_id parameter in the ListResources response. |
gw-1uhcqmsc7x22****** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| VpcId |
string |
No |
The virtual private cloud (VPC) ID. You can call DescribeVpcs to obtain this value. |
vpc-uf66uio7md**** |
| AclPolicyList |
array<object> |
No |
The whitelisted IP CIDR blocks in the VPC that can access the private gateway. |
|
|
object |
No |
The whitelisted IP CIDR block in the VPC that can access the private gateway. |
||
| Entry |
string |
No |
The IP CIDR block in the VPC that can access the private gateway. |
10.23.XX.XX/32 |
| Comment |
string |
No |
The comment for the whitelisted IP CIDR block. |
default |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
40325405-579C-4D82**** |
| Message |
string |
The response message. |
Successfully delete acl policy for gateway |
| GatewayId |
string |
The private gateway ID. |
gw-1uhcqmsc7x22****** |
Examples
Success response
JSON format
{
"RequestId": "40325405-579C-4D82****",
"Message": "Successfully delete acl policy for gateway",
"GatewayId": "gw-1uhcqmsc7x22******"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.