Creates a sub-crowd for a specified crowd.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pairec:CreateSubCrowd |
create |
*All Resource
|
None | None |
Request syntax
POST /api/v1/crowds/{CrowdId}/subcrowds HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CrowdId |
string |
Yes |
The crowd ID. You can obtain the crowd ID by calling the ListCrowds API. |
3 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| Source |
string |
Yes |
The source of users for the sub-crowd. Valid values: ● ManualInput: manual input ● UploadFile: file upload |
ManualInput |
| Users |
string |
Yes |
A comma-separated list of users in the sub-crowd. |
user1,user2,user3 |
| InstanceId |
string |
Yes |
The instance ID. You can obtain the instance ID by calling the ListInstances API. |
pairec-test1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
9763624B-5FBB-5E3A-9193-B1ADB554CEAE |
| SubCrowdId |
string |
The sub-crowd ID. |
3 |
Examples
Success response
JSON format
{
"RequestId": "9763624B-5FBB-5E3A-9193-B1ADB554CEAE",
"SubCrowdId": "3"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.