Back to Starrocks

DROP ROLE

docs/en/sql-reference/sql-statements/account-management/DROP_ROLE.md

4.1.0478 B
Original Source

DROP ROLE

DROP ROLE drops a role. If a role has been granted to a user, the user will lose the privileges associated with this role after the role is dropped.

:::tip

:::

Syntax

sql
DROP ROLE <role_name>

Examples

Drop a role.

sql
DROP ROLE role1;