Enables or disables the strict mode for access control policies.
Operation description
This operation enables or disables the strict mode for access control policies.
QPS limits
The queries per second (QPS) limit for this operation is 10 calls per second per user. If you exceed the limit, API calls are throttled, which can affect your business. We recommend that you call this operation at a reasonable rate.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
SourceIp
deprecated
|
string |
No |
The source IP address of the visitor. |
192.0.XX.XX |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh |
| InternetSwitch |
string |
Yes |
Specifies whether to enable or disable the strict mode for access control policies. Valid values:
|
off |
| Eips |
array |
No |
A list of IP addresses. The IP addresses must use the same protocol version. You can specify up to 100 IP addresses. |
|
|
string |
No |
An IP address. |
192.168.0.1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
B2841452-CB8D-4F7D-B247-38E1CF7334F8 |
Examples
Success response
JSON format
{
"RequestId": "B2841452-CB8D-4F7D-B247-38E1CF7334F8"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorParametersUid | The aliUid parameter is invalid. | The aliUid parameter is invalid. |
| 400 | ErrorParameters | A parameter error occurred. | A parameter error occurred. |
| 400 | ErrorDBSelect | An error occurred while querying database. | An error occurred while querying database. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.