content/commands/xgroup-destroy.md
The XGROUP DESTROY command completely destroys a consumer group.
The consumer group will be destroyed even if there are active consumers, and pending messages, so make sure to call this command only when really needed.
| Redis Software | Redis Cloud | <span style="min-width: 9em; display: table-cell">Notes</span> | |:----------------------|:-----------------|:------| | <span title="Supported">✅ Standard</span> <span title="Supported"><nobr>✅ Active-Active</nobr></span> | <span title="Supported">✅ Standard</span> <span title="Supported"><nobr>✅ Active-Active</nobr></span> | |
{{< multitabs id="xgroup-destroy-return-info" tab1="RESP2" tab2="RESP3" >}}
Integer reply: the number of destroyed consumer groups, either 0 or 1.
-tab-sep-
Integer reply: the number of destroyed consumer groups, either 0 or 1.
{{< /multitabs >}}