How to drop a group in Redshift database

Below is the syntax to drop a group from the Redshift databases where groupname is the name of the group that needs to be dropped.

drop group groupname;

See also  How to Refresh a Materialized View in Redshift