Deletes IP entries from an access control list.

Debug

Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
Action String Yes RemoveAccessControlListEntry

The name of this action. Value: RemoveAccessControlListEntry

AclId String Yes acl-bp1l0kk4gxce43kzet04s

The ID of the access control list.

RegionId String Yes cn-hangzhou

The ID of the region to which the access control list belongs.

To query the region ID, call DescribeRegions.

AclEntrys String No [{"entry":"10.0.0.0/24","comment":"privaterule1"}]

Optional. The IP entries to be deleted from the access control list. You can delete IP addresses or CIDR blocks. Use commas (,) to separate multiple IP entries.

Note: If the access control list is associated with a listener, you cannot delete all IP entries in the access control list.

Response parameters

Parameter Type Example value Description
RequestId String 988CB45E-1643-48C0-87B4-928DDF77EA49

The ID of the request.

Examples

Request example


/? Action=RemoveAccessControlListEntry
&AclId=acl-bp1l0kk4gxce43kzet04s
&RegionId=cn-hangzhou
&AclEntrys=[{"entry":"10.0.0.0/24","comment":"privaterule1"}]
&<CommonParameters>

Response examples

XML format

<RemoveAccessControlListEntryResponse>
  <RequestId>988CB45E-1643-48C0-87B4-928DDF77EA49</RequestId>
</RemoveAccessControlListEntryResponse>

JSON format

{
	"RequestId":"988CB45E-1643-48C0-87B4-928DDF77EA49"
}

Error codes

See common error codes.