You can call this operation to modify the priority of an access control policy.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyControlPolicyPosition |
The operation that you want to perform. Set the value to ModifyControlPolicyPosition. |
Direction | String | Yes | in |
The traffic direction defined in the access control policy. Valid values:
|
NewOrder | String | Yes | 1 |
The priority of the access control policy after modification. |
OldOrder | String | Yes | 5 |
The priority of the access control policy before modification. |
Lang | String | No | zh |
The language of the request and response. Valid values:
|
SourceIp | String | No | 1.2.3.4 |
The source IP address of the request. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 850A84D6-0DE4-4797-A1E8-00090125EEB1 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=ModifyControlPolicyPosition
&Direction=in
&NewOrder=1
&OldOrder=5
&<Common request parameters>
Sample success responses
XML
format
<ModifyControlPolicyPosition>
<RequestId>850A84D6-0DE4-4797-A1E8-00090125EEB1</RequestId>
</ModifyControlPolicyPosition>
JSON
format
{
"RequestId":"850A84D6-0DE4-4797-A1E8-00090125EEB1"
}
Error codes
For a list of error codes, visit the API Error Center.