DROP GROUP statement [YSQL]

Synopsis

Use the DROP GROUP statement to drop a role. DROP GROUP is an alias for DROP ROLE and is used to drop a role.

Syntax

drop_group ::= DROP GROUP [ IF EXISTS ] role_name [ , ... ]

drop_group

DROPGROUPIFEXISTS,role_name

Semantics

See DROP ROLE for more details.

Example

  • Drop a group.
yugabyte=# DROP GROUP SysAdmin;

See also