You can call CreateFlowProjectUser operation to add a RAM user for a project.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | CreateFlowProjectUser |
The operation that you want to perform. For API requests using the HTTP or HTTPS URL, this parameter is required. Set the value to CreateFlowProjectUser. |
ProjectId | String | Yes | FP-257A173659F5**** |
The ID of the project. You can call ListFlowProject View the project ID. |
RegionId | String | Yes | cn-hangzhou |
The ID of the region. You can call DescribeRegions View the latest list of Alibaba Cloud regions. |
User.N.UserId | String | Yes | 12***** |
The ID of an Alibaba Cloud account. You can call ListFlowProjectUser Query your Alibaba Cloud account ID. |
User.N.UserName | String | Yes | subuser1 |
The RAM username. You can call ListFlowProjectUser View the RAM user name. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Data | Boolean | true |
The execution result returned, including the following:
|
RequestId | String | 243D5A48-96A5-4C0C-8966-93CBF65635ED |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=CreateFlowProjectUser
&ProjectId=FP-257A173659F5****
&RegionId=cn-hangzhou
&User.1.UserId=12****
&User.1.UserName=subuser1
&<common request parameters>
Sample success responses
XML
format
<RequestId>2670BCFB-925D-4C3E-9994-8D12F7A9F538</RequestId>
<Data>true</Data>
JSON
{
"RequestId": "2670BCFB-925D-4C3E-9994-8D12F7A9F538",
"Data": "true"
}