DROP USER
This page documents the preview version (v2.23). Preview includes features under active development and is for development and testing only. For production, use the stable version (v2024.1). To learn more, see Versioning.
Synopsis
Use the DROP USER statement to drop a user or role. DROP USER is an alias for DROP ROLE and is used to drop a role.
Syntax
Semantics
See DROP ROLE for more details.
Example
- Drop a user.
yugabyte=# DROP USER John;