Deletes an access control list.

Note An access control list can be deleted only after it is disassociated from a listener.

Debug

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

Request parameters

Parameter Type Required? Example value Description
Action String Yes DeleteAccessControlList

The name of this action. Value: DeleteAccessControlList

AclId String Yes acl-bp1l0kk4gxce43kz******

The ID of the access control list to be deleted.

RegionId String Yes cn-hangzhou

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

To query the region ID, call DescribeRegions.

Response parameters

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

The ID of the request.

Examples

Request example


http(s)://[Endpoint]/? Action=DeleteAccessControlList
&AclId=acl-bp1l0kk4gxce43kz******
&RegionId=cn-hangzhou
&<CommonParameters>

Response examples

XML format

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

JSON format

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

Error codes

See common error codes.