Creates a client group ID.
Operation description
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mq:CreateGroup |
create |
*Instance
|
None |
|
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GroupId |
string |
Yes |
The ID of the consumer group that you want to create. The value must meet the following requirements:
Note
|
GID_test_groupId |
| Remark |
string |
No |
The remarks on the group. |
test |
| InstanceId |
string |
No |
The ID of the instance to which the group belongs. |
MQ_INST_111111111111_DOxxxxxx |
| GroupType |
string |
No |
The protocol to which the group ID applies. Group IDs for the TCP and HTTP protocols cannot be used interchangeably. Create a separate group ID for each protocol. Valid values:
|
tcp |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
A common parameter. The ID of the request is unique for each request. Use this ID to troubleshoot and locate issues. |
A07E3902-B92E-44A6-B6C5-6AA111111**** |
Examples
Success response
JSON format
{
"RequestId": "A07E3902-B92E-44A6-B6C5-6AA111111****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | %s | %s, please check and retry later | |
| 400 | Group.NumLimited | group count exceed limit. | The number of gid exceeds the limit. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.