Creates an access control list (ACL) check.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh |
| AclType |
string |
Yes |
The type of the ACL check. Valid values:
|
Internet |
| CheckNames |
array |
No |
A list of ACL check names. |
|
|
string |
No |
The name of the ACL check. Valid values:
|
PolicyHitCountZero |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
4FB718F0-CC04-5A12-B17B-188CFC3F**** |
| TaskIds |
array |
A list of task IDs. |
|
|
string |
The task ID. |
task-c92d4544ef7b6a42 |
Examples
Success response
JSON format
{
"RequestId": "4FB718F0-CC04-5A12-B17B-188CFC3F****",
"TaskIds": [
"task-c92d4544ef7b6a42\n"
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorAclCheckQuotaUnavailable | ACL check quota unavailable. | The quota for access control configuration checks is insufficient. |
| 400 | ErrorParameters | Parameters error. | Parameter error. |
| 400 | ErrorParametersUid | The aliUid parameter is invalid. | The aliUid parameter is invalid. |
| 400 | ErrorDBSelect | An error occurred while querying database. | An error occurred while querying database. |
| 400 | ErrorDBInsert | An error occurred while performing an insert operation in the database. | An error occurred while performing an insert operation in the database. |
| 400 | ErrorAclCheckBusy | ACL check is busy. | The access control configuration check is ongoing. Try again later. |
| 400 | ErrorDBUpdate | internal error: sql updat. | An error occurred while updating the database. |
| 400 | ErrorRecordLog | An error occurred while updating the operation log. | An error occurred while updating the operation log. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.