XGROUP DESTROY key groupname

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.

*Return value

Integer reply: the number of destroyed consumer groups (0 or 1)