Queries access control policies.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
PolicyType | string | No | The type of the access control policies. Valid values:
| System |
PageNumber | integer | No | The number of the page to return. Pages start from page 1. Default value: 1. | 1 |
PageSize | integer | No | The number of entries to return on each page. Valid values: 1 to 100. Default value: 10. | 10 |
Language | string | No | The language in which you want to return the descriptions of the access control policies. Valid values:
Note
This parameter is available only for system access control policies.
| zh-CN |
Response parameters
Examples
Sample success responses
JSON
format
{
"TotalCount": 1,
"RequestId": "9424A34C-3471-45AD-B6AB-924BBDFE42F9",
"PageSize": 10,
"PageNumber": 1,
"ControlPolicies": {
"ControlPolicy": [
{
"UpdateDate": "2020-08-05T06:32:24Z",
"Description": "System access control policy available for all operations on the cloud\n",
"EffectScope": "All",
"AttachmentCount": "44",
"PolicyName": "FullAliyunAccess",
"PolicyId": "cp-FullAliyunAccess",
"CreateDate": "2020-08-05T06:32:24Z",
"PolicyType": "System"
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history