You can call the ListFlowProjectUser operation to query the users of a project.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ListFlowProjectUser |
The operation that you want to perform. This parameter is required for API requests that you create by piecing together HTTP or HTTPS URLs. Set the value to ListFlowProjectUser. |
ProjectId | String | Yes | FP-3535FE0BE522**** |
The ID of the project. You can call ListFlowProject View the ID of the project. |
RegionId | String | Yes | cn-hangzhou |
The region ID of the instance. You can call DescribeRegions To view the latest list of Alibaba Cloud regions. |
PageNumber | Integer | No | 1 |
The page number of the returned page. |
PageSize | Integer | No | 20 |
The page number of the returned page. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
PageNumber | Integer | 1 |
The page number of the returned page. |
PageSize | Integer | 20 |
The page number of the returned page. |
RequestId | String | 80F270E8-27BD-4F24-BB2A-CD3FBCC450DA |
The ID of the request. |
Total | Integer | 12 |
The total number of entries returned. |
Users | Array of User |
The list of users of the project. |
|
User | |||
AccountUserId | String | N/A |
A reserved parameter. |
GmtCreate | Long | 1541561123000 |
The time when the user was added to the project. |
GmtModified | Long | 1541561123000 |
The time when the user of the project was modified. |
OwnerId | String | 123456 |
The ID of the Alibaba Cloud account. |
ProjectId | String | FP-3535FE0BE522**** |
The ID of the project. |
UserName | String | testUser |
The RAM username. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ListFlowProjectUser
&ProjectId=FP-3535FE0BE522****
&RegionId=cn-hangzhou
&<common request parameters>
Sample success responses
XML
format
<RequestId>80F270E8-27BD-4F24-BB2A-CD3FBCC450DA</RequestId>
<PageSize>20</PageSize>
<PageNumber>1</PageNumber>
<Total>12</Total>
<Users>
<User>
<GmtCreate>1541561123000</GmtCreate>
<UserName>testUser</UserName>
<OwnerId>123456</OwnerId>
<GmtModified>1541561123000</GmtModified>
<ProjectId>FP-3535FE0BE522****</ProjectId>
<AccountUserId>252016171****</AccountUserId>
</User>
</Users>
JSON
Syntax
{
"RequestId":"80F270E8-27BD-4F24-BB2A-CD3FBCC450DA",
"PageSize":"20",
"PageNumber":"1",
"Total":"12",
"Users":{
"User":[
{
"GmtCreate":"1541561123000",
"UserName":"testUser",
"OwnerId":"123456",
"GmtModified":"1541561123000",
"ProjectId":"FP-3535FE0BE522****",
"AccountUserId":"252016171****"
}
]
}
}