You can call this operation to delete 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
AclUuid String Yes 00281255-d220-4db1-8f4f-c4df221ad84c

The unique ID of the access control policy.

You can call the DescribeControlPolicy operation to query the ID.

Action String Yes DeleteControlPolicy

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

Direction String Yes in

The traffic direction defined in the access control policy. Valid values:

  • in: inbound traffic
  • out: outbound traffic
Lang String No zh

The language of the request and response. Valid values:

  • en: English
  • zh: Chinese
SourceIp String No 1.2.3.4

The source IP address of the request.

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

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

JSON format

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

Error codes

For a list of error codes, visit the API Error Center.