Important
Helios features are now enabled during weekly update windows and are no longer directly tied to SingleStore engine releases. Refer to the release notes to view the latest features available in your Helios cluster.
DROP ROLE
On this page
The DROP ROLE command removes a role from a SingleStore Helios cluster.
Syntax
DROP ROLE [IF EXISTS] 'role_name'Remarks
-
IF EXISTSis available in 6.0. 15 or later. -
This command causes implicit commits.
Refer to COMMIT for more information. -
Refer to the Permissions Matrix for the required permissions.
Example
SHOW ROLES;
+-------------+
| Roles |
+-------------+
| role_name_0 |
| role_name_1 |
| role_name_2 |
| role_name_3 |
+-------------+
4 rows in set (0.00 sec)DROP ROLE 'role_name_0';SHOW ROLES;
+-------------+
| Roles |
+-------------+
| role_name_1 |
| role_name_2 |
| role_name_3 |
+-------------+
3 rows in set (0.00 sec)Last modified: