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 determine the creation time of a table in Redshift database