Modifies a consumer group.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GwClusterId |
string |
Yes |
The ID of the gateway instance. |
pg-xxxxxxxx |
| ConsumerGroupName |
string |
Yes |
The ID of the consumer group. |
cg-xxxxxx |
| NickName |
string |
No |
The nickname of the consumer group. |
yonghu |
| IsDefault |
string |
No |
Indicates whether the consumer group is the default group. Valid values: |
0 |
| RegionId |
string |
No |
The region ID. |
cn-beijing |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The ID of the request. |
A7E6A8FD-C50B-46B2-BA85-D8B8D3****** |
| ConsumerGroupId |
string |
The ID of the consumer group. |
cg-xxxxxx |
Examples
Success response
JSON format
{
"RequestId": "A7E6A8FD-C50B-46B2-BA85-D8B8D3******",
"ConsumerGroupId": "cg-xxxxxx"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.