You can call this operation to view the users of a project.

Request parameters

Name Type Required Example Description
ProjectId String Yes FP-3535FE0BE5224A47 The ID of the project.
RegionId String Yes cn-hangzhou The ID of the region.
PageNumber Integer No 1 The page number to request.
PageSize Integer No 20 The number of records to show on each page.

Response parameters

Name Type Example Description
RequestId String 80F270E8-27BD-4F24-BB2A-CD3FBCC450DA The ID of the request.
PageNumber Integer 1 The page number to request.
PageSize Integer 20 The number of records to show on each page.
Total Integer 1 The total number of records.
Users The list of users.
GmtCreate Long 1540796236000 The creation time.
GmtModified Long 1540796236000 The modification time.
ProjectId String FP-3535FE0BE5224A47 The ID of the project.
OwnerId String 123456 The ID of the Alibaba Cloud account.
UserName String testUser The name of the RAM user.

Examples

  • Sample requests
    /? Action=ListFlowProjectUser
    &ProjectId=FP-3535FE0BE5224A47
    &RegionId=cn-hangzhou
    &PageNumber=1
    &PageSize=20 
    &<Common request parameters>
    [DO NOT TRANSLATE]
  • Successful response examples
    JSON format
    {
    	"PageNumber":1,
    	"PageSize":10,
    	"RequestId":"E2253FD1-33E7-4299-B58F-02BB65338E01",
    	"Total":1,
    	"Users":{
    		"User":[{
    			"OwnerId":"1250460021754461",
    			"ProjectId":"FP-E3F1523F8FC1D2E6",
    			"UserName":"mingbo-flow"
    		}]
    	}
    }
  • Error response examples
    JSON format
    {
    	"code":"FLOW_API_FAILED",
    	"message":"Project does not exist [FP-E3F1523F8FC1D2E]",
    	"requestId":"D6EFD75D-4C9A-4729-B4CD-E89C1D971971",
    	"successResponse":false
    }

Error codes

View error codes.