Call the DescribeUserVpcAuthorizations operation to retrieve a list of cross-account authorizations.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pvtz:DescribeUserVpcAuthorizations |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AuthType |
string |
No |
The authorization type. Valid values:
|
NORMAL |
| PageNumber |
integer |
No |
The page number. The value starts from 1. The default value is 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. The maximum value is 100. The default value is 20. |
20 |
| AuthorizedUserId |
integer |
No |
The ID of the Alibaba Cloud account that owns the authorized resources. |
141339776561**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| PageSize |
integer |
The number of entries returned per page. |
20 |
| RequestId |
string |
The unique request ID. |
46973D4C-E3E4-4ABA-9190-9A9DE406C7E |
| PageNumber |
integer |
The page number of the returned data. |
1 |
| TotalPages |
integer |
The total number of pages returned. |
5 |
| Users |
array<object> |
The information about the Alibaba Cloud accounts that own the authorized resources. |
|
|
object |
The information about an Alibaba Cloud account. |
||
| AuthType |
string |
The authorization type. Valid values:
|
NORMAL |
| AuthorizedUserId |
integer |
The ID of the Alibaba Cloud account that owns the authorized resources. |
141339776561**** |
| AuthorizedAliyunId |
string |
The name of the Alibaba Cloud account that owns the authorized resources. |
alidn****@test.com |
| CreateTime |
string |
The time when the authorization was created. |
2023-05-08T02:31Z |
| CreateTimestamp |
integer |
The timestamp that indicates when the authorization was created. |
1672740294000 |
| TotalItems |
integer |
The total number of authorizations. |
100 |
Examples
Success response
JSON format
{
"PageSize": 20,
"RequestId": "46973D4C-E3E4-4ABA-9190-9A9DE406C7E",
"PageNumber": 1,
"TotalPages": 5,
"Users": [
{
"AuthType": "NORMAL",
"AuthorizedUserId": 0,
"AuthorizedAliyunId": "alidn****@test.com",
"CreateTime": "2023-05-08T02:31Z\n",
"CreateTimestamp": 1672740294000
}
],
"TotalItems": 100
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.