UpdateCrowd
Updates a crowd's information, such as its name and description.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pairec:UpdateCrowd |
update |
*All Resource
|
None | None |
Request syntax
PUT /api/v1/crowds/{CrowdId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CrowdId |
string |
Yes |
The crowd ID. To obtain this ID, call the ListCrowds operation. |
3 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| Name |
string |
Yes |
The crowd name. |
xx人群 |
| Description |
string |
Yes |
The crowd description. |
This is a test. |
| InstanceId |
string |
Yes |
The instance ID. To obtain this ID, call the ListInstances operation. |
pairec-test1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
8C27790E-CCA5-56BB-BA17-646295DEC0A2 |
Examples
Success response
JSON format
{
"RequestId": "8C27790E-CCA5-56BB-BA17-646295DEC0A2"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.