Deletes an access control policy.

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 specify 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 1.2.3.4

The source IP address of the traffic.

Lang String No zh

The natural language of the request and response.

Valid values:

  • zh: Chinese
  • 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"
}