update_consumer_group
Modify a consumer group by updating its ID, labels, plugins, or description. Simplify configuration adjustments via the APISIX-MCP server interface.
Instructions
Update specific attributes of an existing consumer group
Input Schema
Name | Required | Description | Default |
---|---|---|---|
consumerGroup | No | consumer group configuration object | |
id | No | consumer group ID |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"consumerGroup": {
"anyOf": [
{
"additionalProperties": true,
"description": "consumer group configuration object",
"properties": {
"desc": {
"description": "consumer group description",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "consumer group labels",
"type": "object"
},
"plugins": {
"additionalProperties": true,
"description": "consumer group plugins",
"properties": {
"_meta": {
"additionalProperties": false,
"properties": {
"disable": {
"default": false,
"description": "control whether the plugin is enabled",
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
},
{
"type": "null"
}
],
"description": "consumer group configuration object"
},
"id": {
"description": "consumer group ID",
"type": [
"string",
"null"
]
}
},
"type": "object"
}