Queries a list of permission 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 permission policy. If you do not configure this parameter, all types of permission policies are returned. Valid values:
| Custom |
| PageNumber | integer | No | The page number. Pages start from page 1. Default value: 1. | 1 |
| PageSize | integer | No | The number of entries per 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 system permission policies. Valid values:
| zh-CN |
Response parameters
Examples
Sample success responses
JSONformat
{
"PageNumber": 1,
"PageSize": 10,
"Policies": {
"Policy": [
{
"AttachmentCount": 1,
"CreateDate": "2015-01-23T12:33:18Z",
"DefaultVersion": "v1",
"Description": "OSS administrator",
"PolicyName": "OSS-Administrator",
"PolicyType": "Custom",
"UpdateDate": "2016-02-11T18:39:12Z"
}
]
},
"RequestId": "7B8A4E7D-6CFF-471D-84DF-195A7A241ECB",
"TotalCount": 2
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|
No change history
