Queries the objects to which an access control policy is attached.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
PolicyId | string | Yes | The ID of the access control policy. | cp-jExXAqIYkwHN**** |
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 |
Response parameters
Examples
Sample success responses
JSON
format
{
"TotalCount": 1,
"RequestId": "B32BD3D6-1089-41F3-8E70-E0079BC7D760",
"PageSize": 10,
"PageNumber": 1,
"TargetAttachments": {
"TargetAttachment": [
{
"TargetId": "fd-ZDNPiT****",
"TargetName": "Dev_Department",
"AttachDate": "2021-03-19T02:56:24Z",
"TargetType": "Folder"
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history