How to Rename a user in Redshift database

Below is the command to rename a redshift database user:

alter user username rename to new_username;
See also  How to change Owner of a Schema in Redshift database