Modifying All Consumer Groups
Function
This API is used to modify all consumer groups.
Calling Method
For details, see Calling APIs.
URI
PUT /v2/{engine}/{project_id}/instances/{instance_id}/groups
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
engine |
Yes |
String |
Engine. |
project_id |
Yes |
String |
Project ID. For details, see Obtaining a Project ID. |
instance_id |
Yes |
String |
Instance ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
group_name |
No |
String |
Consumer group name. |
group_desc |
No |
String |
Consumer group description. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
job_id |
String |
Background task ID. |
Example Requests
PUT https://{endpoint}/v2/{engine}/{project_id}/instances/{instance_id}/groups { "group_name" : "test", "group_desc" : "this is a test group" }
Example Responses
Status code: 200
Successful
{ "job_id" : "8a2c259182ab0e9d0182ab1882560010" }
Status Codes
Status Code |
Description |
---|---|
200 |
Successful |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.