You can call this operation to add a project user.

Request parameters

Name Type Required Example Description
ProjectId String Yes FP-257A173659F59685 The ID of the project.
RegionId String Yes cn-hangzhou The ID of the region.
User.N.UserId String No 123456 The ID of the RAM user.
User.N.UserName String No subuser1 The RAM user name.

Response parameters

Name Type Example Description
RequestId String 243D5A48-96A5-4C0C-8966-93CBF65635ED The ID of the request.
Data Boolean true Indicates whether the project user is added.

Examples

  • Sample requests
    /? Action=CreateFlowProjectUser
    &ProjectId=FP-257A173659F59685
    &RegionId=cn-hangzhou
    &User. 1. UserId=123456
    &User. 1. UserName=subuser1
    &<Common request parameters>
  • Successful response examples
    JSON format
    {
    	"Data":"true",
    	"RequestId":"2670BCFB-925D-4C3E-9994-8D12F7A9F538"
    }
  • Error response examples
    JSON format
    {
    	"code":"FLOW_API_FAILED",
    	"message":"Project does not exist [FP-257A173659F59685]",
    	"requestId":"11BAFBD8-8509-4177-A26D-407505E73713",
    	"successResponse":false
    }

Error codes

View error codes.