Enables or disables the strict mode for an access control policy.

Description

You can call the ModifyPolicyAdvancedConfig operation to enable or disable the strict mode for an access control policy.

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 ModifyPolicyAdvancedConfig

The operation that you want to perform.

Set the value to ModifyPolicyAdvancedConfig.

InternetSwitch String Yes off

Specifies whether to enable the strict mode for the access control policy. Valid values:

  • on: enables the strict mode.
  • off: disables the strict mode.
SourceIp String No 192.0.XX.XX

The source IP address of the request.

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 B2841452-CB8D-4F7D-B247-38E1CF7334F8

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ModifyPolicyAdvancedConfig
&InternetSwitch=off
&<Common request parameters>

Sample success responses

XML format

<ModifyPolicyAdvancedConfigResponse>
   <RequestId>B2841452-CB8D-4F7D-B247-38E1CF7334F8</RequestId>
</ModifyPolicyAdvancedConfigResponse>

JSON format

{
    "RequestId":"B2841452-CB8D-4F7D-B247-38E1CF7334F8"
}