Deletes an access control policy.

Description

You can call the DeleteControlPolicy operation to delete an access control policy that applies to inbound or outbound traffic.

Limits

You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteControlPolicy

The operation that you want to perform. Set the value to DeleteControlPolicy.

AclUuid String Yes 00281255-d220-4db1-8f4f-c4df221ad84c

The ID of the access control policy.

To delete an access control policy, you must provide the ID of the policy. You can call the DescribeControlPolicy operation to query the ID.

Direction String Yes in

The direction of the traffic to which the access control policy applies.

Valid values:

  • in: inbound traffic
  • out: outbound traffic
SourceIp String No 192.0.XX.XX

The source IP address of the traffic.

Lang String No zh

The natural language of the request and response.

Valid values:

  • zh: Chinese (default)
  • en: English

Response parameters

Parameter Type Example Description
RequestId String CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DeleteControlPolicy
&AclUuid=00281255-d220-4db1-8f4f-c4df221ad84c
&Direction=in
&<Common request parameters>

Sample success responses

XML format

<DeleteControlPolicyResponse>
  <RequestId>CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D</RequestId>
</DeleteControlPolicyResponse>

JSON format

{
    "RequestId": "CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D"
}