Remove a role from the cluster.
Section: Database and Role Lifecycle
Drop role
sql
sql
DROP ROLE readonly;Explanation
Roles owning objects or memberships may need cleanup first.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Database and Role Lifecycle