You can call this operation to add a RAM user for a project.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes CreateFlowProjectUser

The operation that you want to perform. Set the value to CreateFlowProjectUser.

ProjectId String Yes FP-257A173659F59685

The ID of the project.

RegionId String Yes cn-hangzhou

The ID of the region where your project resides.

User.N.UserId String No 123456

The account ID of the RAM user.

User.N.UserName String No subuser1

The account name of the RAM user.

Response parameters

Parameter Type Example Description
Data Boolean true

The result of the operation.

RequestId String 243D5A48-96A5-4C0C-8966-93CBF65635ED

The ID of the request.

Examples

Sample requests


http(s)://[Endpoint]/? Action=CreateFlowProjectUser
&ProjectId=FP-257A173659F59685
&RegionId=cn-hangzhou
&User.1.UserId=123456
&User.1.UserName=subuser1
&<Common request parameters>

Sample success responses

XML format

<CreateFlowProjectUserResponse>
  <RequestId>2670BCFB-925D-4C3E-9994-8D12F7A9F538</RequestId>
	  <Data>true</Data>
</CreateFlowProjectUserResponse>

JSON format

{
	"Data":"true",
	"RequestId":"2670BCFB-925D-4C3E-9994-8D12F7A9F538"
}

Error codes

For a list of error codes, visit the API Error Center.